summaryrefslogtreecommitdiff
path: root/scripts/ceruleancity.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/ceruleancity.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/ceruleancity.asm')
-rwxr-xr-xscripts/ceruleancity.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/ceruleancity.asm b/scripts/ceruleancity.asm
index 419dbd8c..97824662 100755
--- a/scripts/ceruleancity.asm
+++ b/scripts/ceruleancity.asm
@@ -64,7 +64,7 @@ CeruleanCityScript0: ; 194c8 (6:54c8)
ld hl, CeruleanCityCoords2
call ArePlayerCoordsInArray
ret nc
- ld a, [wd700]
+ ld a, [wWalkBikeSurfState]
and a
jr z, .asm_19512 ; 0x19508 $8
ld a, $ff
@@ -85,7 +85,7 @@ CeruleanCityScript0: ; 194c8 (6:54c8)
ld [$ff8c], a
ld a, $5
ld [$ff8b], a
- call Func_3500
+ call GetPointerWithinSpriteStateData2
ld [hl], $19
.asm_19535
ld a, $5
@@ -117,7 +117,7 @@ CeruleanCityScript_1955d: ; 1955d (6:555d)
ld [$ff8c],a
xor a
ld [$ff8d],a
- jp Func_34a6 ; face object
+ jp SetSpriteFacingDirectionAndDelay ; face object
CeruleanCityScript1: ; 19567 (6:5567)
ld a, [wd730]
@@ -133,7 +133,7 @@ CeruleanCityScript1: ; 19567 (6:5567)
set 7, [hl]
ld hl, CeruleanCityText_1966d
ld de, CeruleanCityText_19672
- call PreBattleSaveRegisters
+ call SaveEndBattleTextPointers
ld a, SONY1 + $c8
ld [W_CUROPPONENT], a
@@ -209,7 +209,7 @@ CeruleanCityScript3: ; 19610 (6:5610)
predef HideObject
xor a
ld [wJoyIgnore], a
- call Func_2307
+ call PlayDefaultMusic
ld a, $0
ld [W_CERULEANCITYCURSCRIPT], a
ret
@@ -277,9 +277,9 @@ CeruleanCityText2: ; 1967c (6:567c)
set 7, [hl]
ld hl, CeruleanCityText_196ee
ld de, CeruleanCityText_196ee
- call PreBattleSaveRegisters
+ call SaveEndBattleTextPointers
ld a, [$ff8c]
- ld [wcf13], a
+ ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters
ld a, $4
@@ -296,7 +296,7 @@ CeruleanCityText2: ; 1967c (6:567c)
jr .Done
.Success
ld a, $1
- ld [wcc3c], a
+ ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld hl, ReceivedTM28Text
call PrintText
callba Func_74872