summaryrefslogtreecommitdiff
path: root/scripts/silphco2.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
committeryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
commitdff0cdeb5a2f901dc8d1a05847d09d7faf1654ad (patch)
tree3618582f76f4183b6bc22c5d4743b6d171d11128 /scripts/silphco2.asm
parent1185d69819af3493fe8ace9f576fee4b420db55e (diff)
parent2ed65d9c3e3ba60939ebe2928ffddc06a90b1876 (diff)
Merge remote-tracking branch 'YamaArashi/master'
Conflicts: constants/misc_constants.asm engine/battle/core.asm engine/menu/pokedex.asm engine/town_map.asm home.asm hram.asm
Diffstat (limited to 'scripts/silphco2.asm')
-rwxr-xr-xscripts/silphco2.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/silphco2.asm b/scripts/silphco2.asm
index 20d689e6..63803acd 100755
--- a/scripts/silphco2.asm
+++ b/scripts/silphco2.asm
@@ -23,7 +23,7 @@ SilphCo2Script_59d07: ; 59d07 (16:5d07)
ld a, $54
ld [wd09f], a
ld bc, $0202
- predef Func_ee9e
+ predef ReplaceTileBlock
pop af
.asm_59d2e
bit 6, a
@@ -31,14 +31,14 @@ SilphCo2Script_59d07: ; 59d07 (16:5d07)
ld a, $54
ld [wd09f], a
ld bc, $0502
- predef_jump Func_ee9e
+ predef_jump ReplaceTileBlock
DataTable_59d3e: ; 59d3e (16:5d3e)
db $02,$02,$05,$02,$FF
SilphCo2Script_59d43: ; 59d43 (16:5d43)
push hl
- ld hl, wd73f
+ ld hl, wCardKeyDoorY
ld a, [hli]
ld b, a
ld a, [hl]
@@ -62,7 +62,7 @@ SilphCo2Script_59d43: ; 59d43 (16:5d43)
ld a, [hli]
cp c
jr nz, .asm_59d4f
- ld hl, wd73f
+ ld hl, wCardKeyDoorY
xor a
ld [hli], a
ld [hl], a
@@ -87,7 +87,7 @@ SilphCo2Script_59d6f: ; 59d6f (16:5d6f)
SilphCo2ScriptPointers: ; 59d80 (16:5d80)
dw CheckFightingMapTrainers
- dw Func_324c
+ dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
SilphCo2TextPointers: ; 59d86 (16:5d86)