diff options
author | dannye <33dannye@gmail.com> | 2021-02-06 11:14:03 -0600 |
---|---|---|
committer | dannye <33dannye@gmail.com> | 2021-02-06 11:14:03 -0600 |
commit | 353e68e5588587017ff288250e85369c2116a19d (patch) | |
tree | 60c35e275e0108a5a2b40710e4bb628508da4868 /src/engine/home.asm | |
parent | 6e5930f1fd92ba435c58a7936b15ded2cd4118aa (diff) |
Rename event flags to event vars
Diffstat (limited to 'src/engine/home.asm')
-rw-r--r-- | src/engine/home.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/home.asm b/src/engine/home.asm index 959f35c..22babd1 100644 --- a/src/engine/home.asm +++ b/src/engine/home.asm @@ -2993,7 +2993,7 @@ CopyDeckData: ; 1072 (0:1072) ld a, [hl] or a ret nz - debug_ret + debug_nop scf ret @@ -10681,7 +10681,7 @@ GameEvent_Credits: ; 3911 (0:3911) Func_3917: ; 3917 (0:3917) ld a, EVENT_RECEIVED_LEGENDARY_CARDS - farcall GetEventFlagValue + farcall GetEventValue call EnableSRAM ld [s0a00a], a call DisableSRAM @@ -10801,7 +10801,7 @@ GetItemInLoadedNPCIndex: ; 39ad (0:39ad) push bc cp LOADED_NPC_MAX jr c, .asm_39b4 - debug_ret + debug_nop xor a .asm_39b4 add a @@ -11570,7 +11570,7 @@ GetSpriteAnimBufferProperty: ; 3dbf (0:3dbf) GetSpriteAnimBufferProperty_SpriteInA: ; 3dc2 (0:3dc2) cp SPRITE_ANIM_BUFFER_CAPACITY jr c, .got_sprite - debug_ret + debug_nop ld a, SPRITE_ANIM_BUFFER_CAPACITY - 1 ; default to last sprite .got_sprite push bc |