diff options
author | YamaArashi <shadow962@live.com> | 2015-07-20 18:32:02 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-20 18:32:26 -0700 |
commit | fcab935a0f449246380480613ac0896e0b90a0d8 (patch) | |
tree | 60391cf3fa91cc8173d13cc9fd75c050d9898e0c /engine/overworld | |
parent | 13e28b0ece7c7888cba792cc6f7219b384213427 (diff) |
enumerate events
Diffstat (limited to 'engine/overworld')
-rwxr-xr-x | engine/overworld/cable_club_npc.asm | 3 | ||||
-rwxr-xr-x | engine/overworld/cinnabar_lab.asm | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/engine/overworld/cable_club_npc.asm b/engine/overworld/cable_club_npc.asm index 2a9b19fe..65837150 100755 --- a/engine/overworld/cable_club_npc.asm +++ b/engine/overworld/cable_club_npc.asm @@ -1,8 +1,7 @@ CableClubNPC: ; 71c5 (1:71c5) ld hl, CableClubNPCWelcomeText call PrintText - ld a, [wd74b] - bit 5, a ; received pokedex? + CheckEvent EVENT_GOT_POKEDEX jp nz, .receivedPokedex ; if the player hasn't received the pokedex ld c, 60 diff --git a/engine/overworld/cinnabar_lab.asm b/engine/overworld/cinnabar_lab.asm index 18ce23ed..5cc5536c 100755 --- a/engine/overworld/cinnabar_lab.asm +++ b/engine/overworld/cinnabar_lab.asm @@ -65,9 +65,7 @@ GiveFossilToCinnabarLab: ; 61006 (18:5006) callba RemoveItemByID ld hl, LabFossil_610b8 call PrintText - ld hl, wd7a3 - set 0, [hl] - set 1, [hl] + SetEvents EVENT_2E0, EVENT_2E1 ret .asm_610a7 ld hl, LabFossil_610bd |