Add constants for common map object ids.

This commit is contained in:
yenatch
2015-07-21 23:49:18 -07:00
parent dc620c08ee
commit ec10d9dd6f
85 changed files with 423 additions and 419 deletions

View File

@@ -1457,7 +1457,7 @@ CheckTrainerBattle:: ; 360d
.startbattle
pop de
pop af
ld [$ffe0], a
ld [hLastTalked], a
ld a, b
ld [CurFruit], a
ld a, c
@@ -1474,7 +1474,7 @@ Function3674:: ; 3674
Function367e:: ; 367e
call GetMapScriptHeaderBank
ld [EngineBuffer1], a
ld a, [$ffe0]
ld a, [hLastTalked]
call GetMapObject
ld hl, MAPOBJECT_SCRIPT_POINTER
add hl, bc