diff options
Diffstat (limited to 'engine/overworld/scripting.asm')
-rw-r--r-- | engine/overworld/scripting.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm index b72b6099..ef94fca7 100644 --- a/engine/overworld/scripting.asm +++ b/engine/overworld/scripting.asm @@ -876,7 +876,7 @@ Script_variablesprite: Script_appear: call GetScriptByte call UnmaskCopyMapObjectStruct - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld b, 0 ; clear call ApplyEventActionAppearDisappear ret @@ -888,7 +888,7 @@ Script_disappear: ldh a, [hLastTalked] .ok call DeleteObjectStruct - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] ld b, 1 ; set call ApplyEventActionAppearDisappear farcall _UpdateSprites |