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 a8040590..24febe66 100644
--- a/engine/items/item_effects.asm
+++ b/engine/items/item_effects.asm
@@ -1212,7 +1212,7 @@ StatStrings:
GetStatExpRelativePointer:
ld a, [wCurItem]
- ld hl, Table_ef3f
+ ld hl, StatExpItemPointerOffsets
.next
cp [hl]
inc hl
@@ -1226,7 +1226,7 @@ GetStatExpRelativePointer:
ld b, 0
ret
-Table_ef3f:
+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 f758a6a3..b952818b 100644
--- a/engine/overworld/scripting.asm
+++ b/engine/overworld/scripting.asm
@@ -875,7 +875,7 @@ Script_variablesprite:
Script_appear:
call GetScriptByte
- call _CopyObjectStruct
+ call UnmaskCopyMapObjectStruct
ldh a, [hMapObjectIndexBuffer]
ld b, 0 ; clear
call ApplyEventActionAppearDisappear