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.asm | |
parent | 76e2ea534fa8374e62b8916e068514101cd617fa (diff) |
object_struct
Diffstat (limited to 'engine/events.asm')
-rw-r--r-- | engine/events.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/events.asm b/engine/events.asm index 5e64b62fd..20e2bc0dd 100644 --- a/engine/events.asm +++ b/engine/events.asm @@ -396,7 +396,7 @@ CheckTileEvent: ; 96874 ret .return6 - ld a, [StandingTile] + ld a, [PlayerStandingTile] call CheckPitTile jr nz, .pittile ld a, 6 @@ -606,7 +606,7 @@ TryObjectEvent: ; 969b5 .IsObject call PlayTalkObject - ld a, [hMapObjectIndexBuffer2] + ld a, [hObjectStructIndexBuffer] call GetObjectStruct ld hl, OBJECT_MAP_OBJECT_INDEX add hl, bc |