summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/items/item_effects.asm4
-rw-r--r--engine/overworld/scripting.asm2
2 files changed, 3 insertions, 3 deletions
diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm
index ce873ff29..4de0fc3bc 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -1241,7 +1241,7 @@ StatStrings:
GetStatExpRelativePointer:
ld a, [wCurItem]
- ld hl, Table_eeeb
+ ld hl, StatExpItemPointerOffsets
.next
cp [hl]
inc hl
@@ -1255,7 +1255,7 @@ GetStatExpRelativePointer:
ld b, 0
ret
-Table_eeeb:
+StatExpItemPointerOffsets:
db HP_UP, MON_HP_EXP - MON_STAT_EXP
db PROTEIN, MON_ATK_EXP - MON_STAT_EXP
db IRON, MON_DEF_EXP - MON_STAT_EXP
diff --git a/engine/overworld/scripting.asm b/engine/overworld/scripting.asm
index 5f93ab396..5104ba92b 100644
--- a/engine/overworld/scripting.asm
+++ b/engine/overworld/scripting.asm
@@ -961,7 +961,7 @@ Script_variablesprite:
Script_appear:
call GetScriptByte
call GetScriptObject
- call _CopyObjectStruct
+ call UnmaskCopyMapObjectStruct
ldh a, [hMapObjectIndexBuffer]
ld b, 0 ; clear
call ApplyEventActionAppearDisappear