2019-01-01 20:06:23 +00:00
|
|
|
CeruleanCity_Script:
|
2014-05-18 18:19:10 +00:00
|
|
|
call EnableAutoTextBoxDrawing
|
2019-01-01 20:06:23 +00:00
|
|
|
ld hl, CeruleanCity_ScriptPointers
|
2015-08-31 02:38:41 +00:00
|
|
|
ld a, [wCeruleanCityCurScript]
|
2014-05-18 18:19:10 +00:00
|
|
|
jp CallFunctionInTable
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityScript_1948c:
|
2014-05-18 18:19:10 +00:00
|
|
|
xor a
|
2014-05-25 17:51:53 +00:00
|
|
|
ld [wJoyIgnore], a
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCeruleanCityCurScript], a
|
2014-09-25 23:21:49 +00:00
|
|
|
ld a, HS_CERULEAN_RIVAL
|
2015-07-25 03:27:59 +00:00
|
|
|
ld [wMissableObjectIndex], a
|
2014-06-16 20:57:26 +00:00
|
|
|
predef_jump HideObject
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
CeruleanCity_ScriptPointers:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw CeruleanCityScript0
|
|
|
|
dw CeruleanCityScript1
|
|
|
|
dw CeruleanCityScript2
|
|
|
|
dw CeruleanCityScript3
|
|
|
|
dw CeruleanCityScript4
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityScript4:
|
2015-08-31 02:38:41 +00:00
|
|
|
ld a, [wIsInBattle]
|
2014-05-18 18:19:10 +00:00
|
|
|
cp $ff
|
|
|
|
jp z, CeruleanCityScript_1948c
|
|
|
|
ld a, $f0
|
2014-05-25 17:51:53 +00:00
|
|
|
ld [wJoyIgnore], a
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_BEAT_CERULEAN_ROCKET_THIEF
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $2
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndexOrTextID], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call DisplayTextID
|
|
|
|
xor a
|
2014-05-25 17:51:53 +00:00
|
|
|
ld [wJoyIgnore], a
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCeruleanCityCurScript], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ret
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityScript0:
|
2020-07-15 17:35:39 +00:00
|
|
|
IF DEF(_DEBUG)
|
|
|
|
call DebugPressedOrHeldB
|
|
|
|
ret nz
|
|
|
|
ENDC
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_BEAT_CERULEAN_ROCKET_THIEF
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_194f7
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityCoords1
|
|
|
|
call ArePlayerCoordsInArray
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nc, .asm_194f7
|
2015-07-19 03:49:52 +00:00
|
|
|
ld a, [wCoordIndex]
|
2014-05-18 18:19:10 +00:00
|
|
|
cp $1
|
2015-07-20 00:52:26 +00:00
|
|
|
ld a, PLAYER_DIR_UP
|
2015-07-17 07:52:25 +00:00
|
|
|
ld b, SPRITE_FACING_DOWN
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_194e6
|
2015-07-20 00:52:26 +00:00
|
|
|
ld a, PLAYER_DIR_DOWN
|
2015-07-17 07:52:25 +00:00
|
|
|
ld b, SPRITE_FACING_UP
|
2014-05-18 18:19:10 +00:00
|
|
|
.asm_194e6
|
2015-07-20 00:52:26 +00:00
|
|
|
ld [wPlayerMovingDirection], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, b
|
2020-07-05 21:29:11 +00:00
|
|
|
ld [wSprite02StateData1FacingDirection], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call Delay3
|
|
|
|
ld a, $2
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndexOrTextID], a
|
2014-05-18 18:19:10 +00:00
|
|
|
jp DisplayTextID
|
|
|
|
.asm_194f7
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_BEAT_CERULEAN_RIVAL
|
2014-05-18 18:19:10 +00:00
|
|
|
ret nz
|
|
|
|
ld hl, CeruleanCityCoords2
|
|
|
|
call ArePlayerCoordsInArray
|
|
|
|
ret nc
|
2014-09-13 07:50:56 +00:00
|
|
|
ld a, [wWalkBikeSurfState]
|
2014-05-18 18:19:10 +00:00
|
|
|
and a
|
2015-07-03 19:38:12 +00:00
|
|
|
jr z, .asm_19512
|
2020-07-03 20:37:47 +00:00
|
|
|
ld a, SFX_STOP_ALL_MUSIC
|
2015-08-09 05:32:44 +00:00
|
|
|
ld [wNewSoundID], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call PlaySound
|
|
|
|
.asm_19512
|
|
|
|
ld c, BANK(Music_MeetRival)
|
|
|
|
ld a, MUSIC_MEET_RIVAL
|
|
|
|
call PlayMusic
|
|
|
|
xor a
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hJoyHeld], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $f0
|
2014-05-25 17:51:53 +00:00
|
|
|
ld [wJoyIgnore], a
|
2015-08-31 02:38:41 +00:00
|
|
|
ld a, [wXCoord]
|
2020-08-28 16:10:55 +00:00
|
|
|
cp 20
|
2015-07-03 19:38:12 +00:00
|
|
|
jr z, .asm_19535
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $1
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndex], a
|
2020-08-30 20:33:14 +00:00
|
|
|
ld a, SPRITESTATEDATA2_MAPX
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteDataOffset], a
|
2014-09-10 03:55:19 +00:00
|
|
|
call GetPointerWithinSpriteStateData2
|
2020-08-30 20:33:14 +00:00
|
|
|
ld [hl], 25
|
2014-05-18 18:19:10 +00:00
|
|
|
.asm_19535
|
2014-09-25 23:21:49 +00:00
|
|
|
ld a, HS_CERULEAN_RIVAL
|
2015-07-25 03:27:59 +00:00
|
|
|
ld [wMissableObjectIndex], a
|
2014-06-16 20:57:26 +00:00
|
|
|
predef ShowObject
|
2014-05-18 18:19:10 +00:00
|
|
|
ld de, CeruleanCityMovement1
|
|
|
|
ld a, $1
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndex], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call MoveSprite
|
|
|
|
ld a, $1
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCeruleanCityCurScript], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ret
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityCoords1:
|
2020-07-16 16:32:19 +00:00
|
|
|
dbmapcoord 30, 7
|
|
|
|
dbmapcoord 30, 9
|
|
|
|
db -1 ; end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityCoords2:
|
2020-07-16 16:32:19 +00:00
|
|
|
dbmapcoord 20, 6
|
|
|
|
dbmapcoord 21, 6
|
|
|
|
db -1 ; end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityMovement1:
|
2015-07-17 07:52:25 +00:00
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
2020-07-16 16:32:19 +00:00
|
|
|
db -1 ; end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityScript_1955d:
|
2017-12-30 00:54:27 +00:00
|
|
|
ld a, 1
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndex], a
|
2015-07-17 07:52:25 +00:00
|
|
|
xor a ; SPRITE_FACING_DOWN
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteFacingDirection], a
|
2014-09-10 03:55:19 +00:00
|
|
|
jp SetSpriteFacingDirectionAndDelay ; face object
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityScript1:
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wd730]
|
2014-05-18 18:19:10 +00:00
|
|
|
bit 0, a
|
|
|
|
ret nz
|
|
|
|
xor a
|
2014-05-25 17:51:53 +00:00
|
|
|
ld [wJoyIgnore], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $1
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndexOrTextID], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call DisplayTextID
|
2014-05-26 21:04:56 +00:00
|
|
|
ld hl, wd72d
|
2014-05-18 18:19:10 +00:00
|
|
|
set 6, [hl]
|
|
|
|
set 7, [hl]
|
|
|
|
ld hl, CeruleanCityText_1966d
|
|
|
|
ld de, CeruleanCityText_19672
|
2014-09-14 18:29:18 +00:00
|
|
|
call SaveEndBattleTextPointers
|
2020-07-17 17:27:27 +00:00
|
|
|
ld a, OPP_RIVAL1
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCurOpponent], a
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
; select which team to use during the encounter
|
2015-08-31 02:38:41 +00:00
|
|
|
ld a, [wRivalStarter]
|
2014-05-21 12:48:30 +00:00
|
|
|
cp STARTER2
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .NotSquirtle
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $7
|
|
|
|
jr .done
|
|
|
|
.NotSquirtle
|
2014-05-21 12:48:30 +00:00
|
|
|
cp STARTER3
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .Charmander
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $8
|
|
|
|
jr .done
|
|
|
|
.Charmander
|
|
|
|
ld a, $9
|
|
|
|
.done
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wTrainerNo], a
|
2014-05-18 18:19:10 +00:00
|
|
|
|
|
|
|
xor a
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hJoyHeld], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call CeruleanCityScript_1955d
|
|
|
|
ld a, $2
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCeruleanCityCurScript], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ret
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityScript2:
|
2015-08-31 02:38:41 +00:00
|
|
|
ld a, [wIsInBattle]
|
2014-05-18 18:19:10 +00:00
|
|
|
cp $ff
|
|
|
|
jp z, CeruleanCityScript_1948c
|
|
|
|
call CeruleanCityScript_1955d
|
|
|
|
ld a, $f0
|
2014-05-25 17:51:53 +00:00
|
|
|
ld [wJoyIgnore], a
|
2015-07-21 17:36:03 +00:00
|
|
|
SetEvent EVENT_BEAT_CERULEAN_RIVAL
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $1
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndexOrTextID], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call DisplayTextID
|
2020-07-03 20:37:47 +00:00
|
|
|
ld a, SFX_STOP_ALL_MUSIC
|
2015-08-09 05:32:44 +00:00
|
|
|
ld [wNewSoundID], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call PlaySound
|
2020-07-07 01:18:22 +00:00
|
|
|
farcall Music_RivalAlternateStart
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $1
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndex], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call SetSpriteMovementBytesToFF
|
2015-08-31 02:38:41 +00:00
|
|
|
ld a, [wXCoord]
|
2020-08-28 16:10:55 +00:00
|
|
|
cp 20
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_195f0
|
2014-05-18 18:19:10 +00:00
|
|
|
ld de, CeruleanCityMovement4
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_195f3
|
2014-05-18 18:19:10 +00:00
|
|
|
.asm_195f0
|
|
|
|
ld de, CeruleanCityMovement3
|
|
|
|
.asm_195f3
|
|
|
|
ld a, $1
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh [hSpriteIndex], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call MoveSprite
|
|
|
|
ld a, $3
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCeruleanCityCurScript], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ret
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityMovement3:
|
2015-07-17 07:52:25 +00:00
|
|
|
db NPC_MOVEMENT_LEFT
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
2020-07-16 16:32:19 +00:00
|
|
|
db -1 ; end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityMovement4:
|
2015-07-17 07:52:25 +00:00
|
|
|
db NPC_MOVEMENT_RIGHT
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
|
|
|
db NPC_MOVEMENT_DOWN
|
2020-07-16 16:32:19 +00:00
|
|
|
db -1 ; end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityScript3:
|
2014-05-26 21:04:56 +00:00
|
|
|
ld a, [wd730]
|
2014-05-18 18:19:10 +00:00
|
|
|
bit 0, a
|
|
|
|
ret nz
|
2014-09-25 23:21:49 +00:00
|
|
|
ld a, HS_CERULEAN_RIVAL
|
2015-07-25 03:27:59 +00:00
|
|
|
ld [wMissableObjectIndex], a
|
2014-06-16 20:57:26 +00:00
|
|
|
predef HideObject
|
2014-05-18 18:19:10 +00:00
|
|
|
xor a
|
2014-05-25 17:51:53 +00:00
|
|
|
ld [wJoyIgnore], a
|
2014-09-10 03:55:19 +00:00
|
|
|
call PlayDefaultMusic
|
2014-05-18 18:19:10 +00:00
|
|
|
ld a, $0
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCeruleanCityCurScript], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ret
|
|
|
|
|
2019-01-01 20:06:23 +00:00
|
|
|
CeruleanCity_TextPointers:
|
2014-05-18 18:19:10 +00:00
|
|
|
dw CeruleanCityText1
|
|
|
|
dw CeruleanCityText2
|
|
|
|
dw CeruleanCityText3
|
|
|
|
dw CeruleanCityText4
|
|
|
|
dw CeruleanCityText5
|
|
|
|
dw CeruleanCityText6
|
|
|
|
dw CeruleanCityText7
|
|
|
|
dw CeruleanCityText8
|
|
|
|
dw CeruleanCityText9
|
|
|
|
dw CeruleanCityText10
|
|
|
|
dw CeruleanCityText11
|
|
|
|
dw CeruleanCityText12
|
|
|
|
dw CeruleanCityText13
|
|
|
|
dw MartSignText
|
|
|
|
dw PokeCenterSignText
|
|
|
|
dw CeruleanCityText16
|
|
|
|
dw CeruleanCityText17
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText1:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_BEAT_CERULEAN_RIVAL
|
2014-05-18 18:19:10 +00:00
|
|
|
; do pre-battle text
|
|
|
|
jr z, .PreBattleText
|
|
|
|
; or talk about bill
|
|
|
|
ld hl, CeruleanCityText_19677
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .end
|
|
|
|
.PreBattleText
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_19668
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
.end
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_19668:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_19668
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_1966d:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_1966d
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_19672:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_19672
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_19677:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_19677
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText2:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2015-07-21 17:36:03 +00:00
|
|
|
CheckEvent EVENT_BEAT_CERULEAN_ROCKET_THIEF
|
2015-07-03 19:38:12 +00:00
|
|
|
jr nz, .asm_4ca20
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_196d9
|
|
|
|
call PrintText
|
2014-05-26 21:04:56 +00:00
|
|
|
ld hl, wd72d
|
2014-05-18 18:19:10 +00:00
|
|
|
set 6, [hl]
|
|
|
|
set 7, [hl]
|
|
|
|
ld hl, CeruleanCityText_196ee
|
|
|
|
ld de, CeruleanCityText_196ee
|
2014-09-14 18:29:18 +00:00
|
|
|
call SaveEndBattleTextPointers
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh a, [hSpriteIndexOrTextID]
|
2014-09-13 07:50:56 +00:00
|
|
|
ld [wSpriteIndex], a
|
2014-05-18 18:19:10 +00:00
|
|
|
call EngageMapTrainer
|
|
|
|
call InitBattleEnemyParameters
|
|
|
|
ld a, $4
|
2015-08-31 02:38:41 +00:00
|
|
|
ld [wCeruleanCityCurScript], a
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_4ca20
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_196f3
|
|
|
|
call PrintText
|
2020-07-06 02:52:27 +00:00
|
|
|
lb bc, TM_DIG, 1
|
2014-05-18 18:19:10 +00:00
|
|
|
call GiveItem
|
|
|
|
jr c, .Success
|
|
|
|
ld hl, TM28NoRoomText
|
|
|
|
call PrintText
|
|
|
|
jr .Done
|
|
|
|
.Success
|
|
|
|
ld a, $1
|
2014-09-13 07:50:56 +00:00
|
|
|
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, ReceivedTM28Text
|
|
|
|
call PrintText
|
2020-07-07 01:18:22 +00:00
|
|
|
farcall CeruleanHideRocket
|
2014-05-18 18:19:10 +00:00
|
|
|
.Done
|
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_196d9:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_196d9
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
ReceivedTM28Text:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _ReceivedTM28Text
|
|
|
|
sound_get_item_1
|
|
|
|
text_far _ReceivedTM28Text2
|
2020-07-06 16:39:29 +00:00
|
|
|
text_waitbutton
|
2020-07-04 21:09:35 +00:00
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
TM28NoRoomText:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _TM28NoRoomText
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_196ee:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_196ee
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_196f3:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_196f3
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText3:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText3
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText4:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText4
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText5:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText5
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText11:
|
|
|
|
CeruleanCityText6:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText6
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText7:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh a, [hRandomAdd]
|
2016-07-18 06:17:03 +00:00
|
|
|
cp 180
|
2015-07-03 19:38:12 +00:00
|
|
|
jr c, .asm_e9fc9
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_19730
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_d486e
|
|
|
|
.asm_e9fc9
|
2016-07-18 06:17:03 +00:00
|
|
|
cp 100
|
2015-07-03 19:38:12 +00:00
|
|
|
jr c, .asm_df99b
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_19735
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_d486e
|
|
|
|
.asm_df99b
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_1973a
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_d486e
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_19730:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_19730
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_19735:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_19735
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_1973a:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_1973a
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText8:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_asm
|
2020-07-06 23:03:05 +00:00
|
|
|
ldh a, [hRandomAdd]
|
2016-07-18 06:17:03 +00:00
|
|
|
cp 180
|
2015-07-03 19:38:12 +00:00
|
|
|
jr c, .asm_e28da
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_1976f
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_f2f38
|
|
|
|
.asm_e28da
|
2016-07-18 06:17:03 +00:00
|
|
|
cp 120
|
2015-07-03 19:38:12 +00:00
|
|
|
jr c, .asm_15d08
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_19774
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_f2f38
|
|
|
|
.asm_15d08
|
2016-07-18 06:17:03 +00:00
|
|
|
cp 60
|
2015-07-03 19:38:12 +00:00
|
|
|
jr c, .asm_d7fea
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_19779
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
jr .asm_f2f38
|
|
|
|
.asm_d7fea
|
2014-05-18 18:19:10 +00:00
|
|
|
ld hl, CeruleanCityText_1977e
|
|
|
|
call PrintText
|
2015-07-03 19:38:12 +00:00
|
|
|
.asm_f2f38
|
2014-05-18 18:19:10 +00:00
|
|
|
jp TextScriptEnd
|
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_1976f:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_1976f
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_19774:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_19774
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_19779:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_19779
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText_1977e:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText_1977e
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText9:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText9
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText10:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText10
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText12:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText12
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText13:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText13
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText16:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText16
|
|
|
|
text_end
|
2014-05-18 18:19:10 +00:00
|
|
|
|
2016-06-12 00:24:04 +00:00
|
|
|
CeruleanCityText17:
|
2020-07-04 21:09:35 +00:00
|
|
|
text_far _CeruleanCityText17
|
|
|
|
text_end
|