summaryrefslogtreecommitdiff
path: root/engine/overworld/scripting.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:26 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-12-23 16:54:26 -0500
commited133f5c9afac83b9f9ca4f6951c5bdbe4c95fc5 (patch)
tree5731b13e7f583e7be713b20cd1b08ec4d72ef237 /engine/overworld/scripting.asm
parent524f57703fb362dd9a131edb1eb5aebad5ffe633 (diff)
Remove "Buffer" suffix from two HRAM labels
Diffstat (limited to 'engine/overworld/scripting.asm')
-rw-r--r--engine/overworld/scripting.asm4
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