diff options
author | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-02 11:15:32 -0500 |
---|---|---|
committer | PikalaxALT <PikalaxALT@gmail.com> | 2015-11-02 11:15:32 -0500 |
commit | d35cfad0de085fab1b0c40c7f0497c9b745cb7b2 (patch) | |
tree | 8de5a9250b7ee5e7c264e31866cf70849314166a /engine/events_2.asm | |
parent | 76e2ea534fa8374e62b8916e068514101cd617fa (diff) |
object_struct
Diffstat (limited to 'engine/events_2.asm')
-rw-r--r-- | engine/events_2.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/events_2.asm b/engine/events_2.asm index 5acc72346..1849bbbf8 100644 --- a/engine/events_2.asm +++ b/engine/events_2.asm @@ -161,7 +161,7 @@ CanUseSweetScent:: ; 97cfd jr nc, .no .ice_check - ld a, [StandingTile] + ld a, [PlayerStandingTile] call CheckIceTile jr z, .no scf @@ -235,7 +235,7 @@ ChooseWildEncounter_BugContest:: ; 97d31 ; 97d64 TryWildEncounter_BugContest: ; 97d64 - ld a, [StandingTile] + ld a, [PlayerStandingTile] call CheckSuperTallGrassTile ld b, 40 percent jr z, .ok @@ -352,7 +352,7 @@ Function97e08:: ; 97e08 ld hl, wd6de xor a .asm_97e0c - ld [hMapObjectIndexBuffer1], a + ld [hMapObjectIndexBuffer], a ld a, [hl] and a jr z, .asm_97e19 @@ -365,7 +365,7 @@ Function97e08:: ; 97e08 .asm_97e19 ld de, $0006 add hl, de - ld a, [hMapObjectIndexBuffer1] + ld a, [hMapObjectIndexBuffer] inc a cp $4 jr nz, .asm_97e0c |