Update SRAM item names

This commit is contained in:
scawful
2025-01-19 12:17:56 -05:00
parent deae33c596
commit 36bf7e83a8
11 changed files with 90 additions and 167 deletions

View File

@@ -49,7 +49,7 @@ Sprite_AntiKirby_Prep:
STZ.w SprDefl, X
STZ.w SprTileDie, X
STZ.w SprMiscB, X
LDA.l SWORD : DEC : TAY
LDA.l Sword : DEC : TAY
LDA .bump_damage, Y : STA.w SprBump, X
LDA .health, Y : STA.w SprHealth, X
LDA .prize_pack, Y : STA.w SprPrize, X

View File

@@ -47,7 +47,7 @@ Sprite_Booki_Long:
Sprite_Booki_Prep:
{
PHB : PHK : PLB
LDA.l SWORD : DEC A : TAY
LDA.l Sword : DEC A : TAY
LDA.w .health, Y : STA.w SprHealth, X
STZ.w SprMiscB, X
PLB

View File

@@ -51,7 +51,7 @@ Sprite_HelmetChuchu_Long:
Sprite_HelmetChuchu_Prep:
{
PHB : PHK : PLB
LDA.l SWORD : DEC A : TAY
LDA.l Sword : DEC A : TAY
LDA.w .health, Y : STA.w SprHealth, X
JSL GetRandomInt : AND.b #$02 : STA.w SprAction, X
STZ.w SprMiscB, X

View File

@@ -50,7 +50,7 @@ Sprite_ThunderGhost_Long:
Sprite_ThunderGhost_Prep:
{
PHB : PHK : PLB
LDA.l SWORD : DEC A : TAY
LDA.l Sword : DEC A : TAY
LDA.w .health, Y : STA.w SprHealth, X
LDA.b #$08 : STA.w SprTimerB, X
LDA.b #$08 : STA.w SprTimerA, X

View File

@@ -71,7 +71,7 @@ Sprite_EonOwl_Prep:
.NotGaebora
LDA.w AreaIndex : CMP.b #$50 : BNE .not_intro
; If Map 0x50, don't spawn after getting sword
LDA.l SWORD : CMP.b #$01 : BCC .continue
LDA.l Sword : CMP.b #$01 : BCC .continue
STZ.w SprState, X
.continue
.not_intro

View File

@@ -76,9 +76,9 @@ MapleHandler:
Maple_CheckForPendant:
{
; Check for pendant
LDA.l PENDANTS : AND.b #$04 : BNE .courage
LDA.l PENDANTS : AND.b #$02 : BNE .power
LDA.l PENDANTS : AND.b #$01 : BNE .wisdom
LDA.l Pendants : AND.b #$04 : BNE .courage
LDA.l Pendants : AND.b #$02 : BNE .power
LDA.l Pendants : AND.b #$01 : BNE .wisdom
JMP .none
.courage
LDA.l Dreams : AND.b #$04 : BNE .power