mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Rename several script commands
This commit is contained in:
parent
f599e477fc
commit
01792e00d2
@ -48,6 +48,9 @@ RESET_FLAG EQU 0
|
||||
SET_FLAG EQU 1
|
||||
CHECK_FLAG EQU 2
|
||||
|
||||
; Boolean checks
|
||||
FALSE EQU 0
|
||||
TRUE EQU 1
|
||||
|
||||
; joypad
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
BattleTowerTrainerData:: ; What exactly it is, I don't know
|
||||
; Size is 70 (Nr of Trainers in BattleTower) * 0x24 (Nr of Bytes that are copied)
|
||||
; Second argument points to an entry in Unknown_170470, to which the first argument is compared.
|
||||
|
@ -194,7 +194,7 @@ OverworldHatchEgg:: ; 16f5e
|
||||
call Function16f70
|
||||
call ExitAllMenus
|
||||
call RestartMapMusic
|
||||
jp LoadMoveSprites
|
||||
jp CloseText
|
||||
; 16f70
|
||||
|
||||
Function16f70: ; 16f70 (5:6f70)
|
||||
|
@ -1246,9 +1246,9 @@ DecorationDesc_PosterPointers: ; 26f84
|
||||
DecorationDesc_TownMapPoster: ; 0x26f91
|
||||
loadfont
|
||||
writetext .TownMapText
|
||||
closetext
|
||||
waitbutton
|
||||
special Special_TownMap
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0x26f9b
|
||||
|
||||
|
@ -142,7 +142,7 @@ RandomEncounter:: ; 97cc0
|
||||
; 97cf9
|
||||
|
||||
WildBattleScript: ; 97cf9
|
||||
battlecheck
|
||||
setup_random_encounter
|
||||
startbattle
|
||||
returnafterbattle
|
||||
end
|
||||
|
@ -9,7 +9,7 @@ FruitTreeScript:: ; 44000
|
||||
callasm CheckFruitTree
|
||||
iffalse .fruit
|
||||
writetext NothingHereText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .end
|
||||
|
||||
.fruit
|
||||
@ -27,10 +27,10 @@ FruitTreeScript:: ; 44000
|
||||
.packisfull
|
||||
keeptextopen
|
||||
writetext FruitPackIsFullText
|
||||
closetext
|
||||
waitbutton
|
||||
|
||||
.end
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 44041
|
||||
|
||||
|
@ -1378,7 +1378,7 @@ Function28926: ; 28926
|
||||
hlcoord 0, 15
|
||||
ld b, $1
|
||||
ld c, $12
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
hlcoord 2, 16
|
||||
ld de, String28ab4
|
||||
call PlaceString
|
||||
@ -1487,7 +1487,7 @@ Function28926: ; 28926
|
||||
hlcoord 0, 12
|
||||
ld b, $4
|
||||
ld c, $12
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
callba Function4d354
|
||||
ld hl, UnknownText_0x28aaf
|
||||
bccoord 1, 14
|
||||
@ -1509,7 +1509,7 @@ Function28926: ; 28926
|
||||
hlcoord 0, 12
|
||||
ld b, $4
|
||||
ld c, $12
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
callba Function4d354
|
||||
ld hl, UnknownText_0x28ac4
|
||||
bccoord 1, 14
|
||||
@ -1519,7 +1519,7 @@ Function28926: ; 28926
|
||||
hlcoord 0, 12
|
||||
ld b, $4
|
||||
ld c, $12
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
hlcoord 1, 14
|
||||
ld de, String28ece
|
||||
call PlaceString
|
||||
@ -1666,7 +1666,7 @@ Function28b87: ; 28b87
|
||||
hlcoord 0, 12
|
||||
ld b, $4
|
||||
ld c, $12
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
callba Function4d354
|
||||
ld a, [wd002]
|
||||
ld hl, PartySpecies
|
||||
@ -1695,7 +1695,7 @@ Function28b87: ; 28b87
|
||||
hlcoord 10, 7
|
||||
ld b, $3
|
||||
ld c, $7
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
ld de, String28eab
|
||||
hlcoord 12, 8
|
||||
call PlaceString
|
||||
@ -1735,7 +1735,7 @@ Function28b87: ; 28b87
|
||||
hlcoord 0, 12
|
||||
ld b, 4
|
||||
ld c, 18
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
hlcoord 1, 14
|
||||
ld de, String28ece
|
||||
call PlaceString
|
||||
@ -1752,7 +1752,7 @@ Function28b87: ; 28b87
|
||||
hlcoord 0, 12
|
||||
ld b, 4
|
||||
ld c, 18
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
hlcoord 1, 14
|
||||
ld de, String28ece
|
||||
call PlaceString
|
||||
@ -1982,7 +1982,7 @@ Function28b87: ; 28b87
|
||||
hlcoord 0, 12
|
||||
ld b, 4
|
||||
ld c, 18
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
hlcoord 1, 14
|
||||
ld de, String28ebd
|
||||
call PlaceString
|
||||
@ -2019,10 +2019,10 @@ String28ece: ; 28ece
|
||||
next "was canceled!@"
|
||||
|
||||
|
||||
Function28eef: ; 28eef
|
||||
Predef_LinkTextbox: ; 28eef
|
||||
ld d, h
|
||||
ld e, l
|
||||
callba Function16d6ca
|
||||
callba LinkTextbox
|
||||
ret
|
||||
; 28ef8
|
||||
|
||||
@ -2041,11 +2041,11 @@ Function28f09: ; 28f09
|
||||
hlcoord 0, 0
|
||||
ld b, 6
|
||||
ld c, 18
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
hlcoord 0, 8
|
||||
ld b, 6
|
||||
ld c, 18
|
||||
call Function28eef
|
||||
call Predef_LinkTextbox
|
||||
callba Functionfb60d
|
||||
ret
|
||||
; 28f24
|
||||
|
@ -2736,7 +2736,7 @@ Function5602: ; 5602, called at battle start
|
||||
ld a, PLAYER
|
||||
call Function5629 ; respawn player
|
||||
|
||||
ld a, [wd459]
|
||||
ld a, [wBattleScriptFlags]
|
||||
bit 7, a
|
||||
jr z, .ok
|
||||
|
||||
|
@ -4,7 +4,7 @@ Function2400e:: ; 2400e
|
||||
rst FarCall
|
||||
call Function24085
|
||||
call UpdateSprites
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call Function2408f
|
||||
ret
|
||||
; 24022
|
||||
@ -16,7 +16,7 @@ Function24022:: ; 24022
|
||||
call Function24085
|
||||
callba MobileTextBorder
|
||||
call UpdateSprites
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call Function2408f
|
||||
ret
|
||||
; 2403c
|
||||
@ -28,7 +28,7 @@ Function2403c:: ; 2403c
|
||||
call Function24085
|
||||
callba MobileTextBorder
|
||||
call UpdateSprites
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call Function2411a
|
||||
ld hl, wcfa5
|
||||
set 7, [hl]
|
||||
|
@ -443,9 +443,9 @@ Script_ReceivePhoneCall: ; 0x90241
|
||||
refreshscreen $0
|
||||
callasm RingTwice_StartCall
|
||||
ptcall wd048
|
||||
closetext
|
||||
waitbutton
|
||||
callasm HangUp
|
||||
loadmovesprites
|
||||
closetext
|
||||
callasm InitCallReceiveDelay
|
||||
end
|
||||
; 0x90255
|
||||
|
@ -188,7 +188,7 @@ BillPhoneScript1: ; 0xbcfc5
|
||||
|
||||
BillPhoneScript2: ; 0xbd007
|
||||
farwritetext BillPhoneNewlyFullText
|
||||
closetext
|
||||
waitbutton
|
||||
end
|
||||
|
||||
; Elm
|
||||
|
@ -188,7 +188,7 @@ _KrissHousePC: ; 156d9
|
||||
and a
|
||||
jr nz, .asm_156f9
|
||||
call OverworldTextModeSwitch
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call UpdateSprites
|
||||
call PC_PlayShutdownSound
|
||||
ld c, $0
|
||||
@ -466,16 +466,16 @@ UnknownText_0x158c7: ; 0x158c7
|
||||
|
||||
|
||||
Function158cc: ; 0x158cc
|
||||
ld a, [wc2ce]
|
||||
ld a, [wSpriteUpdatesEnabled]
|
||||
push af
|
||||
ld a, $0
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
callba CheckItemMenu
|
||||
ld a, [wItemAttributeParamBuffer]
|
||||
ld hl, .jumptable
|
||||
rst JumpTable
|
||||
pop af
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ret
|
||||
; 0x158e7
|
||||
|
||||
@ -577,10 +577,10 @@ Function15985: ; 0x15985
|
||||
xor a
|
||||
ld [wd0e3], a
|
||||
.asm_15989
|
||||
ld a, [wc2ce]
|
||||
ld a, [wSpriteUpdatesEnabled]
|
||||
push af
|
||||
ld a, $0
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ld hl, MenuData15a08
|
||||
call CopyMenuDataHeader
|
||||
hlcoord 0, 0
|
||||
@ -597,7 +597,7 @@ Function15985: ; 0x15985
|
||||
ld a, [MenuSelection2]
|
||||
ld [wd0d7], a
|
||||
pop af
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ld a, [wd0e3]
|
||||
and a
|
||||
jr nz, .asm_159d8
|
||||
|
@ -46,7 +46,7 @@ PredefPointers:: ; 856b
|
||||
add_predef CalcPkmnStatC
|
||||
add_predef CanLearnTMHMMove
|
||||
add_predef GetTMHMMove
|
||||
add_predef Function28eef ; $ 10
|
||||
add_predef Predef_LinkTextbox ; $ 10
|
||||
add_predef PrintMoveDesc
|
||||
add_predef UpdatePlayerHUD
|
||||
add_predef FillBox
|
||||
|
@ -143,7 +143,7 @@ ScriptCommandTable: ; 96cb1
|
||||
dw Script_pocketisfull
|
||||
dw Script_loadfont
|
||||
dw Script_refreshscreen
|
||||
dw Script_loadmovesprites
|
||||
dw Script_closetext
|
||||
dw Script_loadbytec2cf
|
||||
dw Script_farwritetext
|
||||
dw Script_writetext
|
||||
@ -156,26 +156,26 @@ IF _CRYSTAL
|
||||
dw Script_farjumptext
|
||||
ENDC
|
||||
dw Script_jumptext
|
||||
dw Script_closetext
|
||||
dw Script_waitbutton
|
||||
dw Script_keeptextopen
|
||||
dw Script_pokepic
|
||||
dw Script_pokepicyesorno
|
||||
dw Script_closepokepic
|
||||
dw Script_interpretmenu
|
||||
dw Script_interpretmenu2
|
||||
dw Script_loadpikachudata
|
||||
dw Script_battlecheck
|
||||
dw Script_loadtrainerdata
|
||||
dw Script_loadpokedata
|
||||
dw Script_loadtrainer
|
||||
dw Script_setup_random_encounter
|
||||
dw Script_memtrainerdata
|
||||
dw Script_scriptedpokedata
|
||||
dw Script_scriptedtrainerdata
|
||||
dw Script_startbattle
|
||||
dw Script_returnafterbattle
|
||||
dw Script_catchtutorial
|
||||
dw Script_trainertext
|
||||
dw Script_trainerstatus
|
||||
dw Script_trainerflagaction
|
||||
dw Script_winlosstext
|
||||
dw Script_scripttalkafter
|
||||
dw Script_talkaftercancel
|
||||
dw Script_talkaftercheck
|
||||
dw Script_end_if_just_battled
|
||||
dw Script_check_just_battled
|
||||
dw Script_setlasttalked
|
||||
dw Script_applymovement
|
||||
dw Script_applymovement2
|
||||
@ -200,13 +200,13 @@ ENDC
|
||||
dw Script_writecmdqueue
|
||||
dw Script_delcmdqueue
|
||||
dw Script_playmusic
|
||||
dw Script_playrammusic
|
||||
dw Script_encountermusic
|
||||
dw Script_musicfadeout
|
||||
dw Script_playmapmusic
|
||||
dw Script_reloadmapmusic
|
||||
dw Script_cry
|
||||
dw Script_playsound
|
||||
dw Script_waitbutton
|
||||
dw Script_waitsfx
|
||||
dw Script_warpsound
|
||||
dw Script_specialsound
|
||||
dw Script_passtoengine
|
||||
@ -347,8 +347,8 @@ JumpTextFacePlayerScript: ; 96e79
|
||||
JumpTextScript: ; 96e7a
|
||||
loadfont
|
||||
repeattext -1, -1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 96e81
|
||||
|
||||
@ -431,10 +431,10 @@ Script_repeattext: ; 96ebb
|
||||
ret
|
||||
; 96ed9
|
||||
|
||||
Script_closetext: ; 96ed9
|
||||
Script_waitbutton: ; 96ed9
|
||||
; script command 0x54
|
||||
|
||||
jp CloseText
|
||||
jp WaitButton
|
||||
; 96edc
|
||||
|
||||
Script_keeptextopen: ; 96edc
|
||||
@ -455,9 +455,9 @@ Script_yesorno: ; 96eed
|
||||
; script command 0x4e
|
||||
|
||||
call YesNoBox
|
||||
ld a, 0
|
||||
ld a, FALSE
|
||||
jr c, .no
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
.no
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
@ -502,10 +502,10 @@ Script_pokepic: ; 96f16
|
||||
ret
|
||||
; 96f29
|
||||
|
||||
Script_pokepicyesorno: ; 96f29
|
||||
Script_closepokepic: ; 96f29
|
||||
; script command 0x57
|
||||
|
||||
callba PokepicYesOrNo
|
||||
callba ClosePokepic
|
||||
ret
|
||||
; 96f30
|
||||
|
||||
@ -575,9 +575,9 @@ GiveItemScript: ; 96f77
|
||||
callasm ret_96f76
|
||||
writetext ReceivedItemText
|
||||
iffalse .Full
|
||||
waitbutton
|
||||
waitsfx
|
||||
specialsound
|
||||
closetext
|
||||
waitbutton
|
||||
itemnotify
|
||||
end
|
||||
|
||||
@ -611,7 +611,7 @@ Script_verbosegiveitem2: ; 96f8e
|
||||
ld [wItemQuantityChangeBuffer], a
|
||||
ld hl, NumItems
|
||||
call ReceiveItem
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
jr c, .ok2
|
||||
xor a
|
||||
.ok2
|
||||
@ -748,7 +748,7 @@ Script_elevator: ; 9707c
|
||||
ld b, a
|
||||
callba Elevator
|
||||
ret c
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 97099
|
||||
@ -885,7 +885,7 @@ Script_scripttalkafter: ; 97125
|
||||
jp ScriptJump
|
||||
; 97132
|
||||
|
||||
Script_trainerstatus: ; 97132
|
||||
Script_trainerflagaction: ; 97132
|
||||
; script command 0x63
|
||||
; parameters:
|
||||
; action (SingleByteParam)
|
||||
@ -902,7 +902,7 @@ Script_trainerstatus: ; 97132
|
||||
ld a, c
|
||||
and a
|
||||
ret z
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 9714c
|
||||
@ -926,21 +926,21 @@ Script_winlosstext: ; 9714c
|
||||
ret
|
||||
; 97163
|
||||
|
||||
Script_talkaftercancel: ; 97163
|
||||
Script_end_if_just_battled: ; 97163
|
||||
; script command 0x66
|
||||
|
||||
ld a, [wd04d]
|
||||
ld a, [wRunningTrainerBattleScript]
|
||||
and a
|
||||
ret z
|
||||
jp Script_end
|
||||
; 9716b
|
||||
|
||||
Script_talkaftercheck: ; 9716b
|
||||
Script_check_just_battled: ; 9716b
|
||||
; script command 0x67
|
||||
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ld a, [wd04d]
|
||||
ld a, [wRunningTrainerBattleScript]
|
||||
and a
|
||||
ret nz
|
||||
xor a
|
||||
@ -948,7 +948,7 @@ Script_talkaftercheck: ; 9716b
|
||||
ret
|
||||
; 9717a
|
||||
|
||||
Script_playrammusic: ; 9717a
|
||||
Script_encountermusic: ; 9717a
|
||||
; script command 0x80
|
||||
|
||||
ld a, [OtherTrainerClass]
|
||||
@ -1011,7 +1011,7 @@ Script_playsound: ; 971b7
|
||||
ret
|
||||
; 971c3
|
||||
|
||||
Script_waitbutton: ; 971c3
|
||||
Script_waitsfx: ; 971c3
|
||||
; script command 0x86
|
||||
|
||||
call WaitSFX
|
||||
@ -1481,19 +1481,19 @@ Script_loadpikachudata: ; 973f0
|
||||
ret
|
||||
; 973fb
|
||||
|
||||
Script_battlecheck: ; 973fb
|
||||
Script_setup_random_encounter: ; 973fb
|
||||
; script command 0x5b
|
||||
|
||||
xor a
|
||||
ld [wd459], a
|
||||
ld [wBattleScriptFlags], a
|
||||
ret
|
||||
; 97400
|
||||
|
||||
Script_loadtrainerdata: ; 97400
|
||||
Script_memtrainerdata: ; 97400
|
||||
; script command 0x5c
|
||||
|
||||
ld a, (1 << 7) | 1
|
||||
ld [wd459], a
|
||||
ld [wBattleScriptFlags], a
|
||||
ld a, [WalkingDirection]
|
||||
ld [OtherTrainerClass], a
|
||||
ld a, [FacingDirection]
|
||||
@ -1501,14 +1501,14 @@ Script_loadtrainerdata: ; 97400
|
||||
ret
|
||||
; 97412
|
||||
|
||||
Script_loadpokedata: ; 97412
|
||||
Script_scriptedpokedata: ; 97412
|
||||
; script command 0x5d
|
||||
; parameters:
|
||||
; pokemon (PokemonParam)
|
||||
; level (DecimalParam)
|
||||
|
||||
ld a, (1 << 7)
|
||||
ld [wd459], a
|
||||
ld [wBattleScriptFlags], a
|
||||
call GetScriptByte
|
||||
ld [TempWildMonSpecies], a
|
||||
call GetScriptByte
|
||||
@ -1516,14 +1516,14 @@ Script_loadpokedata: ; 97412
|
||||
ret
|
||||
; 97424
|
||||
|
||||
Script_loadtrainer: ; 97424
|
||||
Script_scriptedtrainerdata: ; 97424
|
||||
; script command 0x5e
|
||||
; parameters:
|
||||
; trainer_group (TrainerGroupParam)
|
||||
; trainer_id (TrainerIdParam)
|
||||
|
||||
ld a, (1 << 7) | 1
|
||||
ld [wd459], a
|
||||
ld [wBattleScriptFlags], a
|
||||
call GetScriptByte
|
||||
ld [OtherTrainerClass], a
|
||||
call GetScriptByte
|
||||
@ -1557,7 +1557,7 @@ Script_catchtutorial: ; 97447
|
||||
Script_returnafterbattle: ; 97459
|
||||
; script command 0x60
|
||||
|
||||
ld hl, wd459
|
||||
ld hl, wBattleScriptFlags
|
||||
ld d, [hl]
|
||||
ld [hl], $0
|
||||
ld a, [wBattleResult]
|
||||
@ -1589,7 +1589,7 @@ Script_reloadmap: ; 97491
|
||||
; script command 0x7b
|
||||
|
||||
xor a
|
||||
ld [wd459], a
|
||||
ld [wBattleScriptFlags], a
|
||||
ld a, MAPSETUP_RELOADMAP
|
||||
ld [hMapEntryMethod], a
|
||||
ld a, $1
|
||||
@ -2362,7 +2362,7 @@ Script_giveitem: ; 977ca
|
||||
ld hl, NumItems
|
||||
call ReceiveItem
|
||||
jr nc, .full
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
.full
|
||||
@ -2388,7 +2388,7 @@ Script_takeitem: ; 977f0
|
||||
ld hl, NumItems
|
||||
call TossItem
|
||||
ret nc
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 97812
|
||||
@ -2405,7 +2405,7 @@ Script_checkitem: ; 97812
|
||||
ld hl, NumItems
|
||||
call CheckItem
|
||||
ret nc
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 97829
|
||||
@ -2534,7 +2534,7 @@ Script_checktime: ; 978ae
|
||||
call GetScriptByte
|
||||
and c
|
||||
ret z
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 978c3
|
||||
@ -2551,7 +2551,7 @@ Script_checkpoke: ; 978c3
|
||||
ld de, 1
|
||||
call IsInArray
|
||||
ret nc
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 978da
|
||||
@ -2567,7 +2567,7 @@ Script_addcellnum: ; 978da
|
||||
ld c, a
|
||||
callba AddPhoneNumber
|
||||
ret nc
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 978ef
|
||||
@ -2583,7 +2583,7 @@ Script_delcellnum: ; 978ef
|
||||
ld c, a
|
||||
callba DelCellNum
|
||||
ret nc
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 97904
|
||||
@ -2600,7 +2600,7 @@ Script_checkcellnum: ; 97904
|
||||
ld c, a
|
||||
callba CheckCellNum
|
||||
ret nc
|
||||
ld a, $1
|
||||
ld a, TRUE
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
; 97919
|
||||
@ -2624,7 +2624,7 @@ Script_checkphonecall: ; 97926
|
||||
ld a, [wSpecialPhoneCallID]
|
||||
and a
|
||||
jr z, .ok
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
.ok
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
@ -2728,7 +2728,7 @@ Script_checkevent: ; 979a4
|
||||
ld a, c
|
||||
and a
|
||||
jr z, .false
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
.false
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
@ -2743,7 +2743,7 @@ Script_setflag: ; 979bb
|
||||
ld e, a
|
||||
call GetScriptByte
|
||||
ld d, a
|
||||
ld b, 1 ; set
|
||||
ld b, SET_FLAG
|
||||
call _EngineFlagAction
|
||||
ret
|
||||
; 979c9
|
||||
@ -2757,7 +2757,7 @@ Script_clearflag: ; 979c9
|
||||
ld e, a
|
||||
call GetScriptByte
|
||||
ld d, a
|
||||
ld b, 0 ; clear
|
||||
ld b, RESET_FLAG
|
||||
call _EngineFlagAction
|
||||
ret
|
||||
; 979d7
|
||||
@ -2776,7 +2776,7 @@ Script_checkflag: ; 979d7
|
||||
ld a, c
|
||||
and a
|
||||
jr z, .false
|
||||
ld a, 1
|
||||
ld a, TRUE
|
||||
.false
|
||||
ld [ScriptVar], a
|
||||
ret
|
||||
@ -3053,15 +3053,15 @@ Script_loadbytec2cf: ; 97b27
|
||||
; 97b2e
|
||||
|
||||
|
||||
LoadMoveSpritesScript: ; 97b2e
|
||||
loadmovesprites
|
||||
CloseTextScript: ; 97b2e
|
||||
closetext
|
||||
; 97b2f
|
||||
|
||||
Script_loadmovesprites: ; 97b2f
|
||||
Script_closetext: ; 97b2f
|
||||
; script command 0x49
|
||||
|
||||
call Function2e20
|
||||
call LoadMoveSprites
|
||||
call CloseText
|
||||
ret
|
||||
; 97b36
|
||||
|
||||
|
@ -9,8 +9,8 @@ SelectMenu:: ; 13327
|
||||
ld b, BANK(ItemMayBeRegisteredText)
|
||||
ld hl, ItemMayBeRegisteredText
|
||||
call MapTextbox
|
||||
call CloseText
|
||||
jp LoadMoveSprites
|
||||
call WaitButton
|
||||
jp CloseText
|
||||
; 13340
|
||||
|
||||
|
||||
@ -141,7 +141,7 @@ UseRegisteredItem: ; 133c3
|
||||
.NoFunction ; 133df
|
||||
call LoadFont
|
||||
call CantUseItem
|
||||
call LoadMoveSprites
|
||||
call CloseText
|
||||
and a
|
||||
ret
|
||||
; 133ea
|
||||
@ -149,7 +149,7 @@ UseRegisteredItem: ; 133c3
|
||||
.Current ; 133ea
|
||||
call LoadFont
|
||||
call DoItemEffect
|
||||
call LoadMoveSprites
|
||||
call CloseText
|
||||
and a
|
||||
ret
|
||||
; 133f5
|
||||
@ -159,7 +159,7 @@ UseRegisteredItem: ; 133c3
|
||||
call FadeToMenu
|
||||
call DoItemEffect
|
||||
call ReturnToCallingMenu
|
||||
call LoadMoveSprites
|
||||
call CloseText
|
||||
and a
|
||||
ret
|
||||
; 13406
|
||||
@ -185,7 +185,7 @@ UseRegisteredItem: ; 133c3
|
||||
|
||||
._cantuse
|
||||
call CantUseItem
|
||||
call LoadMoveSprites
|
||||
call CloseText
|
||||
and a
|
||||
ret
|
||||
; 1342d
|
||||
|
@ -61,8 +61,8 @@ endr
|
||||
.MenuReturns
|
||||
dw .Reopen
|
||||
dw .Exit
|
||||
dw .ExitMenuCallFuncLoadMoveSprites
|
||||
dw .ExitMenuRunScriptLoadMoveSprites
|
||||
dw .ExitMenuCallFuncCloseText
|
||||
dw .ExitMenuRunScriptCloseText
|
||||
dw .ExitMenuRunScript
|
||||
dw .ReturnEnd
|
||||
dw .ReturnRedraw
|
||||
@ -78,7 +78,7 @@ endr
|
||||
.ReturnEnd
|
||||
call ExitMenu
|
||||
.ReturnEnd2
|
||||
call LoadMoveSprites
|
||||
call CloseText
|
||||
call UpdateTimePals
|
||||
ret
|
||||
|
||||
@ -115,14 +115,14 @@ endr
|
||||
ret
|
||||
; 12699
|
||||
|
||||
.ExitMenuRunScriptLoadMoveSprites ; 12699
|
||||
.ExitMenuRunScriptCloseText ; 12699
|
||||
call ExitMenu
|
||||
ld a, HMENURETURN_SCRIPT
|
||||
ld [hMenuReturn], a
|
||||
jr .ReturnEnd2
|
||||
; 126a2
|
||||
|
||||
.ExitMenuCallFuncLoadMoveSprites ; 126a2
|
||||
.ExitMenuCallFuncCloseText ; 126a2
|
||||
call ExitMenu
|
||||
ld hl, wQueuedScriptAddr
|
||||
ld a, [hli]
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ InitClock: ; 90672 (24:4672)
|
||||
ld [hInMenu], a
|
||||
|
||||
ld a, $0
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ld a, $10
|
||||
ld [MusicFade], a
|
||||
ld a, MUSIC_NONE % $100
|
||||
@ -436,7 +436,7 @@ Special_SetDayOfWeek: ; 90913
|
||||
ld [hl], $f5
|
||||
hlcoord 10, 5
|
||||
call Function909de
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
ld c, 10
|
||||
call DelayFrames
|
||||
.asm_9096a
|
||||
|
@ -29,6 +29,6 @@ _BasementKey: ; 507b4
|
||||
; 507e1
|
||||
|
||||
.BasementKeyScript: ; 0x507e1
|
||||
loadmovesprites
|
||||
closetext
|
||||
farjump BasementDoorScript
|
||||
; 0x507e6
|
||||
|
@ -34,6 +34,6 @@ _CardKey: ; 50779
|
||||
; 507af
|
||||
|
||||
.CardKeyScript: ; 0x507af
|
||||
loadmovesprites
|
||||
closetext
|
||||
farjump MapRadioTower3FSignpost2Script
|
||||
; 0x507b4
|
||||
|
@ -7,17 +7,17 @@ FindItemInBallScript:: ; 0x122ce
|
||||
playsound SFX_ITEM
|
||||
pause 60
|
||||
itemnotify
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0x122e3
|
||||
|
||||
.no_room: ; 0x122e3
|
||||
loadfont
|
||||
writetext .text_found
|
||||
closetext
|
||||
waitbutton
|
||||
writetext .text_bag_full
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x122ee
|
||||
|
||||
|
@ -33,7 +33,7 @@ ItemFinder: ; 12580
|
||||
special UpdateTimePals
|
||||
callasm .ItemfinderSound
|
||||
writetext .Text_FoundSomething
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0x125ba
|
||||
|
||||
@ -41,7 +41,7 @@ ItemFinder: ; 12580
|
||||
reloadmappart
|
||||
special UpdateTimePals
|
||||
writetext .Text_FoundNothing
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0x125c3
|
||||
|
||||
|
@ -139,7 +139,7 @@ Kurt_SelectQuantity: ; 880c2
|
||||
call UpdateSprites
|
||||
call .PlaceApricornName
|
||||
call PlaceApricornQuantity
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
callba Function27a28
|
||||
jr nc, .loop
|
||||
|
||||
|
@ -114,7 +114,7 @@ DoPoisonStep:: ; 505da
|
||||
loadfont
|
||||
callasm .CheckWhitedOut
|
||||
iffalse .whiteout
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 50677
|
||||
|
||||
|
@ -58,12 +58,12 @@ SacredAshScript: ; 0x50821
|
||||
special RotatePalettesLeftPalettes
|
||||
special RotatePalettesRightPalettes
|
||||
special RotatePalettesLeftPalettes
|
||||
waitbutton
|
||||
waitsfx
|
||||
writetext UnknownText_0x50845
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitsfx
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x50845
|
||||
|
||||
|
@ -11,12 +11,12 @@ UnknownScript_0x506c8: ; 0x506c8
|
||||
special UpdateTimePals
|
||||
callasm GetPartyNick
|
||||
writetext UnknownText_0x50726
|
||||
closetext
|
||||
waitbutton
|
||||
callasm SweetScentEncounter
|
||||
iffalse UnknownScript_0x506e9
|
||||
checkflag ENGINE_BUG_CONTEST_TIMER
|
||||
iftrue UnknownScript_0x506e5
|
||||
battlecheck
|
||||
setup_random_encounter
|
||||
startbattle
|
||||
returnafterbattle
|
||||
end
|
||||
@ -28,8 +28,8 @@ UnknownScript_0x506e5: ; 0x506e5
|
||||
|
||||
UnknownScript_0x506e9: ; 0x506e9
|
||||
writetext UnknownText_0x5072b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x506ef
|
||||
|
||||
|
@ -124,7 +124,7 @@ Special_DisplayUnownWords: ; 8ae68
|
||||
ld [hBGMapMode], a
|
||||
call MenuBox
|
||||
call UpdateSprites
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call MenuBoxCoord2Tile
|
||||
inc hl
|
||||
ld d, $0
|
||||
|
@ -9,7 +9,7 @@ Script_OverworldWhiteout:: ; 0x124c8
|
||||
|
||||
Script_Whiteout: ; 0x124ce
|
||||
writetext .WhitedOutText
|
||||
closetext
|
||||
waitbutton
|
||||
special RotatePalettesRightPalettes
|
||||
pause 40
|
||||
special HealParty
|
||||
|
10
home.asm
10
home.asm
@ -104,13 +104,13 @@ DisableSpriteUpdates:: ; 0x2ed3
|
||||
res 0, a
|
||||
ld [VramState], a
|
||||
ld a, $0
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ret
|
||||
; 0x2ee4
|
||||
|
||||
EnableSpriteUpdates:: ; 2ee4
|
||||
ld a, $1
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
ld a, [VramState]
|
||||
set 0, a
|
||||
ld [VramState], a
|
||||
@ -568,12 +568,12 @@ IsCGB:: ; 3218
|
||||
; 321c
|
||||
|
||||
|
||||
Function321c:: ; 321c
|
||||
ApplyTilemap:: ; 321c
|
||||
ld a, [hCGB]
|
||||
and a
|
||||
jr z, .dmg
|
||||
|
||||
ld a, [wc2ce]
|
||||
ld a, [wSpriteUpdatesEnabled]
|
||||
cp 0
|
||||
jr z, .dmg
|
||||
|
||||
@ -1488,7 +1488,7 @@ LoadTrainer_continue:: ; 367e
|
||||
ld a, [EngineBuffer1]
|
||||
call FarCopyBytes
|
||||
xor a
|
||||
ld [wd04d], a
|
||||
ld [wRunningTrainerBattleScript], a
|
||||
scf
|
||||
ret
|
||||
; 36a5
|
||||
|
@ -285,7 +285,7 @@ BattleTextBox:: ; 3ac3
|
||||
call SpeechTextBox
|
||||
call MobileTextBorder
|
||||
call UpdateSprites
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
pop hl
|
||||
call PrintTextBoxText
|
||||
ret
|
||||
|
@ -313,7 +313,7 @@ JoyWaitAorB:: ; a36
|
||||
jr .loop
|
||||
; a46
|
||||
|
||||
CloseText:: ; a46
|
||||
WaitButton:: ; a46
|
||||
ld a, [hOAMUpdate]
|
||||
push af
|
||||
ld a, 1
|
||||
|
@ -1091,7 +1091,7 @@ MapTextbox:: ; 269a
|
||||
call Function2e31
|
||||
ld a, 1
|
||||
ld [hOAMUpdate], a
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
pop hl
|
||||
call PrintTextBoxText
|
||||
xor a
|
||||
@ -2043,7 +2043,7 @@ Function2b5c:: ; 2b5c
|
||||
Function2b74:: ; 0x2b74
|
||||
push af
|
||||
ld a, $1
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
call ClearBGPalettes
|
||||
call ClearSprites
|
||||
call Function2bae
|
||||
|
@ -77,7 +77,7 @@ InterpretMenu2::
|
||||
call MenuBox
|
||||
call UpdateSprites
|
||||
call Function1c89
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call CopyMenuData2
|
||||
ld a, [wMenuData2Flags]
|
||||
bit 7, a
|
||||
@ -262,7 +262,7 @@ MenuWriteText::
|
||||
push af
|
||||
ld a, $1
|
||||
ld [hOAMUpdate], a
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
pop af
|
||||
ld [hOAMUpdate], a
|
||||
ret
|
||||
@ -548,7 +548,7 @@ PlayClickSFX:: ; 2009
|
||||
|
||||
MenuTextBoxWaitButton:: ; 2012
|
||||
call MenuTextBox
|
||||
call CloseText
|
||||
call WaitButton
|
||||
call ExitMenu
|
||||
ret
|
||||
; 201c
|
||||
|
@ -2,7 +2,7 @@ RTC:: ; 46f
|
||||
; update time and time-sensitive palettes
|
||||
|
||||
; rtc enabled?
|
||||
ld a, [wc2ce]
|
||||
ld a, [wSpriteUpdatesEnabled]
|
||||
cp 0
|
||||
ret z
|
||||
|
||||
|
@ -192,7 +192,7 @@ SetUpTextBox:: ; 106c
|
||||
push hl
|
||||
call SpeechTextBox
|
||||
call UpdateSprites
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
pop hl
|
||||
ret
|
||||
; 1078
|
||||
|
@ -16,7 +16,7 @@ Function1c10:: ; 0x1c10
|
||||
WriteBackup:: ; 0x1c17
|
||||
push af
|
||||
call ExitMenu
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call UpdateSprites
|
||||
pop af
|
||||
ret
|
||||
|
@ -16,7 +16,7 @@ ResetWindow:: ; 2dba
|
||||
; 2dcf
|
||||
|
||||
|
||||
LoadMoveSprites:: ; 2dcf
|
||||
CloseText:: ; 2dcf
|
||||
ld a, [hOAMUpdate]
|
||||
push af
|
||||
ld a, $1
|
||||
|
@ -491,9 +491,9 @@ refreshscreen: macro
|
||||
db \1 ; dummy
|
||||
endm
|
||||
|
||||
enum loadmovesprites_command
|
||||
loadmovesprites: macro
|
||||
db loadmovesprites_command
|
||||
enum closetext_command
|
||||
closetext: macro
|
||||
db closetext_command
|
||||
endm
|
||||
|
||||
enum loadbytec2cf_command
|
||||
@ -559,9 +559,9 @@ jumptext: macro
|
||||
dw \1 ; text_pointer
|
||||
endm
|
||||
|
||||
enum closetext_command
|
||||
closetext: macro
|
||||
db closetext_command
|
||||
enum waitbutton_command
|
||||
waitbutton: macro
|
||||
db waitbutton_command
|
||||
endm
|
||||
|
||||
enum keeptextopen_command
|
||||
@ -575,9 +575,9 @@ pokepic: macro
|
||||
db \1 ; pokemon
|
||||
endm
|
||||
|
||||
enum pokepicyesorno_command
|
||||
pokepicyesorno: macro
|
||||
db pokepicyesorno_command
|
||||
enum closepokepic_command
|
||||
closepokepic: macro
|
||||
db closepokepic_command
|
||||
endm
|
||||
|
||||
enum interpretmenu_command
|
||||
@ -595,26 +595,26 @@ loadpikachudata: macro
|
||||
db loadpikachudata_command
|
||||
endm
|
||||
|
||||
enum battlecheck_command
|
||||
battlecheck: macro
|
||||
db battlecheck_command
|
||||
enum setup_random_encounter_command
|
||||
setup_random_encounter: macro
|
||||
db setup_random_encounter_command
|
||||
endm
|
||||
|
||||
enum loadtrainerdata_command
|
||||
loadtrainerdata: macro
|
||||
db loadtrainerdata_command
|
||||
enum memtrainerdata_command
|
||||
memtrainerdata: macro
|
||||
db memtrainerdata_command
|
||||
endm
|
||||
|
||||
enum loadpokedata_command
|
||||
loadpokedata: macro
|
||||
db loadpokedata_command
|
||||
enum scriptedpokedata_command
|
||||
scriptedpokedata: macro
|
||||
db scriptedpokedata_command
|
||||
db \1 ; pokemon
|
||||
db \2 ; level
|
||||
endm
|
||||
|
||||
enum loadtrainer_command
|
||||
loadtrainer: macro
|
||||
db loadtrainer_command
|
||||
enum scriptedtrainerdata_command
|
||||
scriptedtrainerdata: macro
|
||||
db scriptedtrainerdata_command
|
||||
db \1 ; trainer_group
|
||||
db \2 ; trainer_id
|
||||
endm
|
||||
@ -641,9 +641,9 @@ trainertext: macro
|
||||
db \1 ; which_text
|
||||
endm
|
||||
|
||||
enum trainerstatus_command
|
||||
trainerstatus: macro
|
||||
db trainerstatus_command
|
||||
enum trainerflagaction_command
|
||||
trainerflagaction: macro
|
||||
db trainerflagaction_command
|
||||
db \1 ; action
|
||||
endm
|
||||
|
||||
@ -659,14 +659,14 @@ scripttalkafter: macro
|
||||
db scripttalkafter_command
|
||||
endm
|
||||
|
||||
enum talkaftercancel_command
|
||||
talkaftercancel: macro
|
||||
db talkaftercancel_command
|
||||
enum end_if_just_battled_command
|
||||
end_if_just_battled: macro
|
||||
db end_if_just_battled_command
|
||||
endm
|
||||
|
||||
enum talkaftercheck_command
|
||||
talkaftercheck: macro
|
||||
db talkaftercheck_command
|
||||
enum check_just_battled_command
|
||||
check_just_battled: macro
|
||||
db check_just_battled_command
|
||||
endm
|
||||
|
||||
enum setlasttalked_command
|
||||
@ -822,9 +822,9 @@ playmusic: macro
|
||||
dw \1 ; music_pointer
|
||||
endm
|
||||
|
||||
enum playrammusic_command
|
||||
playrammusic: macro
|
||||
db playrammusic_command
|
||||
enum encountermusic_command
|
||||
encountermusic: macro
|
||||
db encountermusic_command
|
||||
endm
|
||||
|
||||
enum musicfadeout_command
|
||||
@ -856,9 +856,9 @@ playsound: macro
|
||||
dw \1 ; sound_pointer
|
||||
endm
|
||||
|
||||
enum waitbutton_command
|
||||
waitbutton: macro
|
||||
db waitbutton_command
|
||||
enum waitsfx_command
|
||||
waitsfx: macro
|
||||
db waitsfx_command
|
||||
endm
|
||||
|
||||
enum warpsound_command
|
||||
|
@ -46,7 +46,7 @@ text_low: macro
|
||||
endm
|
||||
|
||||
enum WAIT_BUTTON
|
||||
text_waitbutton: macro
|
||||
text_waitsfx: macro
|
||||
db WAIT_BUTTON
|
||||
endm
|
||||
|
||||
|
110
main.asm
110
main.asm
@ -17,7 +17,7 @@ PlaceWaitingText:: ; 4000
|
||||
jr .proceed
|
||||
|
||||
.notinbattle
|
||||
predef Function28eef
|
||||
predef Predef_LinkTextbox
|
||||
|
||||
.proceed
|
||||
hlcoord 4, 11
|
||||
@ -3410,7 +3410,7 @@ Script_Cut: ; 0xc802
|
||||
writetext UnknownText_0xc7c4
|
||||
reloadmappart
|
||||
callasm CutDownTreeOrGrass
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xc810
|
||||
|
||||
@ -3565,7 +3565,7 @@ Script_UseFlash: ; 0xc8e6
|
||||
special UpdateTimePals
|
||||
writetext UnknownText_0xc8f3
|
||||
callasm BlindingFlash
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xc8f3
|
||||
|
||||
@ -3662,8 +3662,8 @@ SurfFromMenuScript: ; c983
|
||||
|
||||
UsedSurfScript: ; c986
|
||||
writetext UsedSurfText ; "used SURF!"
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
|
||||
callasm Functionc9a2 ; empty function
|
||||
|
||||
@ -3806,7 +3806,7 @@ AskSurfScript: ; ca2c
|
||||
writetext AskSurfText
|
||||
yesorno
|
||||
iftrue UsedSurfScript
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; ca36
|
||||
|
||||
@ -3962,8 +3962,8 @@ Script_WaterfallFromMenu: ; 0xcb1c
|
||||
Script_UsedWaterfall: ; 0xcb20
|
||||
callasm GetPartyNick
|
||||
writetext UnknownText_0xcb51
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
playsound SFX_BUBBLEBEAM
|
||||
.loop
|
||||
applymovement PLAYER, WaterfallStep
|
||||
@ -4031,7 +4031,7 @@ Script_AskWaterfall: ; 0xcb86
|
||||
writetext UnknownText_0xcb90
|
||||
yesorno
|
||||
iftrue Script_UsedWaterfall
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xcb90
|
||||
|
||||
@ -4159,8 +4159,8 @@ UsedDigScript: ; 0xcc35
|
||||
writetext UnknownText_0xcc1c
|
||||
|
||||
UsedDigOrEscapeRopeScript: ; 0xcc3c
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
playsound SFX_WARP_TO
|
||||
applymovement PLAYER, .DigOut
|
||||
farscall Script_AbortBugContest
|
||||
@ -4257,7 +4257,7 @@ Script_UsedTeleport: ; 0xccbb
|
||||
writetext UnknownText_0xccb1
|
||||
pause 60
|
||||
reloadmappart
|
||||
loadmovesprites
|
||||
closetext
|
||||
playsound SFX_WARP_TO
|
||||
applymovement PLAYER, .TeleportFrom
|
||||
farscall Script_AbortBugContest
|
||||
@ -4347,7 +4347,7 @@ Script_UsedStrength: ; 0xcd2d
|
||||
cry 0
|
||||
pause 3
|
||||
writetext UnknownText_0xcd46
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xcd41
|
||||
|
||||
@ -4381,7 +4381,7 @@ AskStrengthScript:
|
||||
writetext UnknownText_0xcd69
|
||||
yesorno
|
||||
iftrue Script_UsedStrength
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xcd69
|
||||
|
||||
@ -4525,7 +4525,7 @@ Script_UsedWhirlpool: ; 0xce0f
|
||||
writetext UnknownText_0xcdd9
|
||||
reloadmappart
|
||||
callasm DisappearWhirlpool
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xce1d
|
||||
|
||||
@ -4584,7 +4584,7 @@ Script_AskWhirlpoolOW: ; 0xce6e
|
||||
writetext UnknownText_0xce78
|
||||
yesorno
|
||||
iftrue Script_UsedWhirlpool
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xce78
|
||||
|
||||
@ -4642,16 +4642,16 @@ HeadbuttScript: ; 0xceab
|
||||
|
||||
callasm TreeMonEncounter
|
||||
iffalse .no_battle
|
||||
loadmovesprites
|
||||
battlecheck
|
||||
closetext
|
||||
setup_random_encounter
|
||||
startbattle
|
||||
returnafterbattle
|
||||
end
|
||||
|
||||
.no_battle
|
||||
writetext UnknownText_0xcea2
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 0xcec9
|
||||
|
||||
@ -4676,7 +4676,7 @@ AskHeadbuttScript: ; 0xcedc
|
||||
writetext UnknownText_0xcee6
|
||||
yesorno
|
||||
iftrue HeadbuttScript
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xcee6
|
||||
|
||||
@ -4742,7 +4742,7 @@ RockSmashFromMenuScript: ; 0xcf2e
|
||||
RockSmashScript: ; cf32
|
||||
callasm GetPartyNick
|
||||
writetext UnknownText_0xcf58
|
||||
loadmovesprites
|
||||
closetext
|
||||
special WaitSFX
|
||||
playsound SFX_STRENGTH
|
||||
earthquake 84
|
||||
@ -4752,7 +4752,7 @@ RockSmashScript: ; cf32
|
||||
callasm RockMonEncounter
|
||||
copybytetovar TempWildMonSpecies
|
||||
iffalse .done
|
||||
battlecheck
|
||||
setup_random_encounter
|
||||
startbattle
|
||||
returnafterbattle
|
||||
.done
|
||||
@ -4776,7 +4776,7 @@ AskRockSmashScript: ; 0xcf5d
|
||||
writetext UnknownText_0xcf77
|
||||
yesorno
|
||||
iftrue RockSmashScript
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
.no
|
||||
jumptext UnknownText_0xcf72
|
||||
@ -4920,7 +4920,7 @@ Script_NotEvenANibble2: ; 0xd027
|
||||
Script_NotEvenANibble_FallThrough: ; 0xd02d
|
||||
loademote EMOTE_SHADOW
|
||||
callasm PutTheRodAway
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xd035
|
||||
|
||||
@ -4940,8 +4940,8 @@ Script_GotABite: ; 0xd035
|
||||
applymovement PLAYER, .Movement_RestoreRod
|
||||
writetext UnknownText_0xd0a4
|
||||
callasm PutTheRodAway
|
||||
loadmovesprites
|
||||
battlecheck
|
||||
closetext
|
||||
setup_random_encounter
|
||||
startbattle
|
||||
returnafterbattle
|
||||
end
|
||||
@ -5125,15 +5125,15 @@ Script_GetOnBike: ; 0xd13e
|
||||
special UpdateTimePals
|
||||
writecode VAR_MOVEMENT, PLAYER_BIKE
|
||||
writetext UnknownText_0xd17c
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
special ReplaceKrisSprite
|
||||
end
|
||||
; 0xd14e
|
||||
|
||||
Script_GetOnBike_Register: ; 0xd14e
|
||||
writecode VAR_MOVEMENT, PLAYER_BIKE
|
||||
loadmovesprites
|
||||
closetext
|
||||
special ReplaceKrisSprite
|
||||
end
|
||||
; 0xd156
|
||||
@ -5147,10 +5147,10 @@ Script_GetOffBike: ; 0xd158
|
||||
special UpdateTimePals
|
||||
writecode VAR_MOVEMENT, PLAYER_NORMAL
|
||||
writetext UnknownText_0xd181
|
||||
closetext
|
||||
waitbutton
|
||||
|
||||
FinishGettingOffBike:
|
||||
loadmovesprites
|
||||
closetext
|
||||
special ReplaceKrisSprite
|
||||
special PlayMapMusic
|
||||
end
|
||||
@ -5163,8 +5163,8 @@ Script_GetOffBike_Register: ; 0xd16b
|
||||
|
||||
UnknownScript_0xd171: ; 0xd171
|
||||
writetext UnknownText_0xd177
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 0xd177
|
||||
|
||||
@ -5218,7 +5218,7 @@ AskCutScript: ; 0xd1a9
|
||||
callasm .CheckMap
|
||||
iftrue Script_Cut
|
||||
.script_d1b8
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0xd1ba
|
||||
|
||||
@ -9044,7 +9044,7 @@ Special_GiveParkBalls: ; 135db
|
||||
|
||||
BugCatchingContestBattleScript:: ; 0x135eb
|
||||
writecode VAR_BATTLETYPE, BATTLETYPE_CONTEST
|
||||
battlecheck
|
||||
setup_random_encounter
|
||||
startbattle
|
||||
returnafterbattle
|
||||
copybytetovar wParkBallsRemaining
|
||||
@ -9056,7 +9056,7 @@ BugCatchingContestOverScript:: ; 0x135f8
|
||||
playsound SFX_ELEVATOR_END
|
||||
loadfont
|
||||
writetext UnknownText_0x1360f
|
||||
closetext
|
||||
waitbutton
|
||||
jump BugCatchingContestReturnToGateScript
|
||||
; 0x13603
|
||||
|
||||
@ -9064,10 +9064,10 @@ BugCatchingContestOutOfBallsScript: ; 0x13603
|
||||
playsound SFX_ELEVATOR_END
|
||||
loadfont
|
||||
writetext UnknownText_0x13614
|
||||
closetext
|
||||
waitbutton
|
||||
|
||||
BugCatchingContestReturnToGateScript: ; 0x1360b
|
||||
loadmovesprites
|
||||
closetext
|
||||
jumpstd bugcontestresultswarp
|
||||
; 0x1360f
|
||||
|
||||
@ -9086,8 +9086,8 @@ UnknownText_0x13614: ; 0x13614
|
||||
RepelWoreOffScript:: ; 0x13619
|
||||
loadfont
|
||||
writetext .text
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
; 0x13620
|
||||
|
||||
@ -9113,10 +9113,10 @@ SignpostItemScript:: ; 0x13625
|
||||
.bag_full: ; 0x1363e
|
||||
keeptextopen
|
||||
writetext .no_room_text
|
||||
closetext
|
||||
waitbutton
|
||||
|
||||
.finish: ; 13643
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
; 0x13645
|
||||
|
||||
@ -9917,11 +9917,11 @@ UpdateItemDescription: ; 0x244c3
|
||||
; 0x244e3
|
||||
|
||||
Pokepic:: ; 244e3
|
||||
ld hl, MenuDataHeader_0x24547
|
||||
ld hl, PokepicMenuDataHeader
|
||||
call CopyMenuDataHeader
|
||||
call MenuBox
|
||||
call UpdateSprites
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
ld b, SCGB_12
|
||||
call GetSGBLayout
|
||||
xor a
|
||||
@ -9946,8 +9946,8 @@ Pokepic:: ; 244e3
|
||||
ret
|
||||
; 24528
|
||||
|
||||
PokepicYesOrNo:: ; 24528
|
||||
ld hl, MenuDataHeader_0x24547
|
||||
ClosePokepic:: ; 24528
|
||||
ld hl, PokepicMenuDataHeader
|
||||
call CopyMenuDataHeader
|
||||
call ClearMenuBoxInterior
|
||||
call WaitBGMap
|
||||
@ -9955,13 +9955,13 @@ PokepicYesOrNo:: ; 24528
|
||||
xor a
|
||||
ld [hBGMapMode], a
|
||||
call OverworldTextModeSwitch
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
call UpdateSprites
|
||||
call LoadStandardFont
|
||||
ret
|
||||
; 24547
|
||||
|
||||
MenuDataHeader_0x24547: ; 0x24547
|
||||
PokepicMenuDataHeader: ; 0x24547
|
||||
db $40 ; flags
|
||||
db 04, 06 ; start coords
|
||||
db 13, 14 ; end coords
|
||||
@ -10051,7 +10051,7 @@ Function245af:: ; 245af
|
||||
call Function24764
|
||||
call Function247dd
|
||||
call Function245f1
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
xor a
|
||||
ld [hBGMapMode], a
|
||||
ret
|
||||
@ -17539,7 +17539,7 @@ Buena_ExitMenu: ; 4ae5e
|
||||
call DelayFrame
|
||||
ld a, $1
|
||||
ld [hOAMUpdate], a
|
||||
call Function321c
|
||||
call ApplyTilemap
|
||||
pop af
|
||||
ld [hOAMUpdate], a
|
||||
ret
|
||||
@ -17856,7 +17856,7 @@ PhoneRing_LoadEDTile: ; 4d188
|
||||
ld a, [hCGB]
|
||||
and a
|
||||
jp z, WaitBGMap
|
||||
ld a, [wc2ce]
|
||||
ld a, [wSpriteUpdatesEnabled]
|
||||
cp $0
|
||||
jp z, WaitBGMap
|
||||
|
||||
@ -22686,16 +22686,16 @@ INCLUDE "engine/phone_scripts.asm"
|
||||
|
||||
TalkToTrainerScript:: ; 0xbe66a
|
||||
faceplayer
|
||||
trainerstatus CHECK_FLAG
|
||||
trainerflagaction CHECK_FLAG
|
||||
iftrue AlreadyBeatenTrainerScript
|
||||
loadtrainerdata
|
||||
playrammusic
|
||||
memtrainerdata
|
||||
encountermusic
|
||||
jump StartBattleWithMapTrainerScript
|
||||
; 0xbe675
|
||||
|
||||
SeenByTrainerScript:: ; 0xbe675
|
||||
loadtrainerdata
|
||||
playrammusic
|
||||
memtrainerdata
|
||||
encountermusic
|
||||
showemote EMOTE_SHOCK, LAST_TALKED, 30
|
||||
callasm TrainerWalkToPlayer
|
||||
applymovement2 MovementBuffer
|
||||
@ -22707,13 +22707,13 @@ SeenByTrainerScript:: ; 0xbe675
|
||||
StartBattleWithMapTrainerScript: ; 0xbe68a
|
||||
loadfont
|
||||
trainertext $0
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
loadtrainerdata
|
||||
memtrainerdata
|
||||
startbattle
|
||||
returnafterbattle
|
||||
trainerstatus SET_FLAG
|
||||
loadvar wd04d, -1
|
||||
trainerflagaction SET_FLAG
|
||||
loadvar wRunningTrainerBattleScript, -1
|
||||
|
||||
AlreadyBeatenTrainerScript:
|
||||
scripttalkafter
|
||||
@ -24096,7 +24096,7 @@ LoadMapTimeOfDay: ; 104750
|
||||
ld hl, VramState
|
||||
res 6, [hl]
|
||||
ld a, $1
|
||||
ld [wc2ce], a
|
||||
ld [wSpriteUpdatesEnabled], a
|
||||
callba Function8c0e5
|
||||
callba Function8c001
|
||||
call OverworldTextModeSwitch
|
||||
|
@ -11,17 +11,17 @@ BugsyScript:
|
||||
checkevent EVENT_BEAT_BUGSY
|
||||
iftrue .FightDone
|
||||
writetext BugsyText_INeverLose
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext BugsyText_ResearchIncomplete, 0
|
||||
loadtrainer BUGSY, 1
|
||||
scriptedtrainerdata BUGSY, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_BUGSY
|
||||
loadfont
|
||||
writetext Text_ReceivedHiveBadge
|
||||
playsound SFX_GET_BADGE
|
||||
waitbutton
|
||||
waitsfx
|
||||
setflag ENGINE_HIVEBADGE
|
||||
checkcode VAR_BADGES
|
||||
scall AzaleaGymTriggerRockets
|
||||
@ -38,15 +38,15 @@ BugsyScript:
|
||||
iffalse .NoRoomForFuryCutter
|
||||
setevent EVENT_GOT_TM49_FURY_CUTTER
|
||||
writetext BugsyText_FuryCutterSpeech
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.GotFuryCutter:
|
||||
writetext BugsyText_BugMonsAreDeep
|
||||
closetext
|
||||
waitbutton
|
||||
.NoRoomForFuryCutter:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
AzaleaGymTriggerRockets:
|
||||
@ -64,55 +64,55 @@ TrainerTwinsAmyandmay1:
|
||||
trainer EVENT_BEAT_TWINS_AMY_AND_MAY, TWINS, AMYANDMAY1, TwinsAmyandmay1SeenText, TwinsAmyandmay1BeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext TwinsAmyandmay1AfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerTwinsAmyandmay2:
|
||||
trainer EVENT_BEAT_TWINS_AMY_AND_MAY, TWINS, AMYANDMAY2, TwinsAmyandmay2SeenText, TwinsAmyandmay2BeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext TwinsAmyandmay2AfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerBug_catcherbenny:
|
||||
trainer EVENT_BEAT_BUG_CATCHER_BENNY, BUG_CATCHER, BUG_CATCHER_BENNY, Bug_catcherbennySeenText, Bug_catcherbennyBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext Bug_catcherbennyAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerBug_catcherAl:
|
||||
trainer EVENT_BEAT_BUG_CATCHER_AL, BUG_CATCHER, AL, Bug_catcherAlSeenText, Bug_catcherAlBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext Bug_catcherAlAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerBug_catcherJosh:
|
||||
trainer EVENT_BEAT_BUG_CATCHER_JOSH, BUG_CATCHER, JOSH, Bug_catcherJoshSeenText, Bug_catcherJoshBeatenText, 0, .AfterScript
|
||||
|
||||
.AfterScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext Bug_catcherJoshAfterBattleText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
AzaleaGymGuyScript:
|
||||
@ -121,15 +121,15 @@ AzaleaGymGuyScript:
|
||||
iftrue .AzaleaGymGuyWinScript
|
||||
loadfont
|
||||
writetext AzaleaGymGuyText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.AzaleaGymGuyWinScript
|
||||
loadfont
|
||||
writetext AzaleaGymGuyWinText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
AzaleaGymStatue:
|
||||
|
@ -8,7 +8,7 @@ AzaleaMart_MapScriptHeader:
|
||||
ClerkScript_0x18e040:
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_AZALEA
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CooltrainerMScript_0x18e047:
|
||||
|
@ -49,8 +49,8 @@ UnknownScript_0x198049:
|
||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||
loadfont
|
||||
writetext UnknownText_0x19814d
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_RIVAL_AZALEA_TOWN
|
||||
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
||||
iftrue UnknownScript_0x198071
|
||||
@ -58,7 +58,7 @@ UnknownScript_0x198049:
|
||||
iftrue UnknownScript_0x198081
|
||||
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
|
||||
setlasttalked $b
|
||||
loadtrainer RIVAL1, RIVAL1_6
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_6
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
@ -67,7 +67,7 @@ UnknownScript_0x198049:
|
||||
UnknownScript_0x198071:
|
||||
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
|
||||
setlasttalked $b
|
||||
loadtrainer RIVAL1, RIVAL1_4
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_4
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
@ -76,7 +76,7 @@ UnknownScript_0x198071:
|
||||
UnknownScript_0x198081:
|
||||
winlosstext UnknownText_0x1981e6, UnknownText_0x19835b
|
||||
setlasttalked $b
|
||||
loadtrainer RIVAL1, RIVAL1_5
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_5
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
@ -86,14 +86,14 @@ UnknownScript_0x198091:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
writetext UnknownText_0x198233
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface PLAYER, LEFT
|
||||
applymovement $b, MovementData_0x198144
|
||||
playsound SFX_EXIT_BUILDING
|
||||
disappear $b
|
||||
dotrigger $0
|
||||
waitbutton
|
||||
waitsfx
|
||||
playmapmusic
|
||||
end
|
||||
|
||||
@ -109,14 +109,14 @@ GrampsScript_0x1980b1:
|
||||
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
||||
iftrue UnknownScript_0x1980bf
|
||||
writetext UnknownText_0x19841b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1980bf:
|
||||
writetext UnknownText_0x198473
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TeacherScript_0x1980c5:
|
||||
@ -131,8 +131,8 @@ SlowpokeScript_0x1980cb:
|
||||
pause 60
|
||||
writetext UnknownText_0x1985c3
|
||||
cry SLOWPOKE
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
WoosterScript:
|
||||
@ -141,8 +141,8 @@ WoosterScript:
|
||||
loadfont
|
||||
writetext WoosterText
|
||||
cry QUAGSIRE
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1980e5:
|
||||
@ -154,23 +154,23 @@ UnknownScript_0x1980e5:
|
||||
writetext UnknownText_0x19860b
|
||||
keeptextopen
|
||||
writetext UnknownText_0x198628
|
||||
closetext
|
||||
waitbutton
|
||||
verbosegiveitem GS_BALL
|
||||
spriteface $d, LEFT
|
||||
setflag ENGINE_HAVE_EXAMINED_GS_BALL
|
||||
clearevent EVENT_ILEX_FOREST_LASS
|
||||
setevent EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS
|
||||
dotrigger $0
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
KurtOutsideScript_0x19810c:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x198628
|
||||
closetext
|
||||
waitbutton
|
||||
spriteface $d, LEFT
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
AzaleaTownSign:
|
||||
|
@ -21,8 +21,8 @@ BattleTower1F_MapScriptHeader:
|
||||
if_equal $4, .SkipEverything
|
||||
loadfont
|
||||
writetext UnknownText_0x9f037
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
priorityjump UnknownScript_0x9e44e
|
||||
end
|
||||
|
||||
@ -43,9 +43,9 @@ MapBattleTower1FSignpost0Script:
|
||||
yesorno
|
||||
iffalse UnknownScript_0x9e3e0
|
||||
writetext Text_BattleTowerRules
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x9e3e0:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
ReceptionistScript_0x9e3e2:
|
||||
@ -72,7 +72,7 @@ Script_ChoseChallenge: ; 0x9e40f
|
||||
writebyte BATTLE_TOWER_ACTION_1A ; ResetBattleTowerTrainerSRAM
|
||||
special BattleTowerAction
|
||||
special SpecialCheckForBattleTowerRules
|
||||
if_not_equal $0, Script_CloseText
|
||||
if_not_equal $0, Script_WaitButton
|
||||
writetext Text_SaveBeforeEnteringBattleRoom
|
||||
yesorno
|
||||
iffalse Script_Menu_ChallengeExplanationCancel
|
||||
@ -88,14 +88,14 @@ Script_ChoseChallenge: ; 0x9e40f
|
||||
writebyte BATTLE_TOWER_ACTION_11
|
||||
special BattleTowerAction
|
||||
writetext Text_RightThisWayToYourBattleRoom
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
writebyte BATTLE_TOWER_ACTION_1E
|
||||
special BattleTowerAction
|
||||
jump UnknownScript_0x9e454
|
||||
|
||||
UnknownScript_0x9e44e:
|
||||
loadmovesprites
|
||||
closetext
|
||||
writebyte BATTLE_TOWER_ACTION_08
|
||||
special BattleTowerAction
|
||||
UnknownScript_0x9e454:
|
||||
@ -125,13 +125,13 @@ Script_GivePlayerHisPrize: ; 0x9e47a
|
||||
writetext Text_PlayerGotFive
|
||||
writebyte BATTLE_TOWER_ACTION_1D
|
||||
special BattleTowerAction
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
Script_YourPackIsStuffedFull: ; 0x9e498
|
||||
writetext Text_YourPackIsStuffedFull
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
Script_BattleTowerIntroductionYesNo: ; 0x9e49e
|
||||
@ -147,18 +147,18 @@ UnknownScript_0x9e4a8:
|
||||
|
||||
UnknownScript_0x9e4b0:
|
||||
writetext Text_WeHopeToServeYouAgain
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x9e4b6:
|
||||
special Function17f53d
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
Script_CloseText: ; 0x9e4bb
|
||||
Script_WaitButton: ; 0x9e4bb
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
|
||||
@ -176,9 +176,9 @@ UnknownScript_0x9e4be:
|
||||
writetext Text_ReceivedAListOfLeadersOnTheHonorRoll
|
||||
spriteface $2, LEFT
|
||||
writetext Text_PleaseConfirmOnThisMonitor
|
||||
closetext
|
||||
waitbutton
|
||||
spriteface $2, DOWN
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x9e4ea:
|
||||
@ -189,7 +189,7 @@ UnknownScript_0x9e4ea:
|
||||
special BattleTowerAction
|
||||
if_not_equal $0, Script_MayNotEnterABattleRoomUnderL70
|
||||
special SpecialCheckForBattleTowerRules
|
||||
if_not_equal $0, Script_CloseText
|
||||
if_not_equal $0, Script_WaitButton
|
||||
writebyte BATTLE_TOWER_ACTION_05
|
||||
special BattleTowerAction
|
||||
if_equal $0, UnknownScript_0x9e512
|
||||
@ -213,41 +213,41 @@ UnknownScript_0x9e515:
|
||||
writebyte BATTLE_TOWER_ACTION_12
|
||||
special BattleTowerAction
|
||||
writetext Text_RightThisWayToYourBattleRoom
|
||||
closetext
|
||||
waitbutton
|
||||
jump UnknownScript_0x9e44e
|
||||
|
||||
UnknownScript_0x9e53b:
|
||||
writetext UnknownText_0x9f076
|
||||
closetext
|
||||
waitbutton
|
||||
jump UnknownScript_0x9e4b0
|
||||
|
||||
Script_APkmnLevelExceeds: ; 0x9e542
|
||||
writetext Text_APkmnLevelExceeds
|
||||
closetext
|
||||
waitbutton
|
||||
jump Script_Menu_ChallengeExplanationCancel
|
||||
|
||||
Script_MayNotEnterABattleRoomUnderL70: ; 0x9e549
|
||||
writetext Text_MayNotEnterABattleRoomUnderL70
|
||||
closetext
|
||||
waitbutton
|
||||
jump Script_Menu_ChallengeExplanationCancel
|
||||
|
||||
UnknownScript_0x9e550:
|
||||
special Function17f53d
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
BattleTower_LeftWithoutSaving:
|
||||
loadfont
|
||||
writetext Text_BattleTower_LeftWithoutSaving
|
||||
closetext
|
||||
waitbutton
|
||||
jump UnknownScript_0x9e4b0
|
||||
|
||||
YoungsterScript_0x9e55d:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext Text_BattleTowerYoungster
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $3, RIGHT
|
||||
end
|
||||
|
||||
@ -526,7 +526,7 @@ Text_PlayerGotFive: ; 0x9eb7e
|
||||
text_from_ram StringBuffer4
|
||||
text "!@"
|
||||
sound_item
|
||||
text_waitbutton
|
||||
text_waitsfx
|
||||
db "@"
|
||||
|
||||
Text_YourPackIsStuffedFull: ; 0x9eb94
|
||||
|
@ -24,12 +24,12 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
special Function_LoadOpponentTrainerAndPokemonsWithOTSprite
|
||||
appear $2
|
||||
warpsound
|
||||
waitbutton
|
||||
waitsfx
|
||||
applymovement $2, MovementData_0x9e592
|
||||
loadfont
|
||||
battletowertext 1
|
||||
keeptextopen
|
||||
loadmovesprites
|
||||
closetext
|
||||
special BattleTowerBattle ; calls predef startbattle
|
||||
special RotatePalettesRightPalettes
|
||||
reloadmap
|
||||
@ -43,8 +43,8 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
applymovement PLAYER, MovementData_0x9e5a7
|
||||
loadfont
|
||||
writetext Text_YourPkmnWillBeHealedToFullHealth
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
playmusic MUSIC_HEAL
|
||||
special RotatePalettesRightPalettes
|
||||
special LoadMapPalettes
|
||||
@ -56,7 +56,7 @@ Script_BattleRoomLoop: ; 0x9f425
|
||||
yesorno
|
||||
iffalse Script_DontBattleNextOpponent
|
||||
Script_ContinueAndBattleNextOpponent: ; 0x9f477
|
||||
loadmovesprites
|
||||
closetext
|
||||
applymovement PLAYER, MovementData_0x9e5a9
|
||||
applymovement $3, MovementData_0x9e5a1
|
||||
jump Script_BattleRoomLoop
|
||||
@ -72,7 +72,7 @@ Script_DontBattleNextOpponent: ; 0x9f483
|
||||
writebyte BATTLE_TOWER_ACTION_03
|
||||
special BattleTowerAction
|
||||
playsound SFX_SAVE
|
||||
waitbutton
|
||||
waitsfx
|
||||
special RotatePalettesRightPalettes
|
||||
special Reset
|
||||
Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
||||
@ -83,7 +83,7 @@ Script_DontSaveAndEndTheSession: ; 0x9f4a3
|
||||
special BattleTowerAction
|
||||
writebyte BATTLE_TOWER_ACTION_06
|
||||
special BattleTowerAction
|
||||
loadmovesprites
|
||||
closetext
|
||||
special RotatePalettesRightPalettes
|
||||
warpfacing UP, BATTLE_TOWER_1F, $7, $7
|
||||
loadfont
|
||||
@ -97,8 +97,8 @@ Script_FailedBattleTowerChallenge:
|
||||
special BattleTowerAction
|
||||
loadfont
|
||||
writetext Text_ThanksForVisiting
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
Script_BeatenAllTrainers: ; 0x9f4d9
|
||||
@ -115,8 +115,8 @@ UnknownScript_0x9f4eb:
|
||||
special BattleTowerAction
|
||||
loadfont
|
||||
writetext Text_TooMuchTimeElapsedNoRegister
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x9f4f7:
|
||||
@ -127,8 +127,8 @@ UnknownScript_0x9f4f7:
|
||||
loadfont
|
||||
writetext Text_ThanksForVisiting
|
||||
writetext Text_WeHopeToServeYouAgain
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@ UnknownScript_0x9f568:
|
||||
special BattleTowerAction
|
||||
playsound SFX_ELEVATOR
|
||||
earthquake 60
|
||||
waitbutton
|
||||
waitsfx
|
||||
follow $2, PLAYER
|
||||
applymovement $2, MovementData_0x9e578
|
||||
stopfollow
|
||||
|
@ -70,8 +70,8 @@ BattleTowerHallway_MapScriptHeader:
|
||||
faceperson PLAYER, $2
|
||||
loadfont
|
||||
writetext Text_PleaseStepThisWay
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
stopfollow
|
||||
applymovement PLAYER, MovementData_0x9e576
|
||||
warpcheck
|
||||
|
@ -121,7 +121,7 @@ UnknownScript_0x18963b:
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setevent EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA
|
||||
setevent EVENT_GAVE_KURT_APRICORNS
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x189652:
|
||||
@ -132,7 +132,7 @@ UnknownScript_0x189652:
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setevent EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA
|
||||
setevent EVENT_GAVE_KURT_APRICORNS
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x189669:
|
||||
@ -143,7 +143,7 @@ UnknownScript_0x189669:
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setevent EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA
|
||||
setevent EVENT_GAVE_KURT_APRICORNS
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x189680:
|
||||
@ -154,7 +154,7 @@ UnknownScript_0x189680:
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setevent EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA
|
||||
setevent EVENT_GAVE_KURT_APRICORNS
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x189697:
|
||||
@ -162,7 +162,7 @@ UnknownScript_0x189697:
|
||||
verbosegiveitem THUNDERSTONE
|
||||
iffalse UnknownScript_0x1896cc
|
||||
setevent EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x1896a5:
|
||||
@ -172,8 +172,8 @@ UnknownScript_0x1896a5:
|
||||
|
||||
UnknownScript_0x1896aa:
|
||||
writetext UnknownText_0x189784
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1896b0:
|
||||
@ -188,24 +188,24 @@ UnknownScript_0x1896b5:
|
||||
|
||||
UnknownScript_0x1896ba:
|
||||
writetext UnknownText_0x18980e
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1896c0:
|
||||
writetext UnknownText_0x18982a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1896c6:
|
||||
writetext UnknownText_0x189891
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1896cc:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownText_0x1896ce:
|
||||
|
@ -31,20 +31,20 @@ SuperNerdScript_0x1a46e8:
|
||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue UnknownScript_0x1a46fc
|
||||
writetext UnknownText_0x1a477a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1a46fc:
|
||||
writetext UnknownText_0x1a47f3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1a4702:
|
||||
writetext UnknownText_0x1a4865
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
GrampsScript_0x1a4708:
|
||||
@ -59,14 +59,14 @@ BlackBeltScript_0x1a470e:
|
||||
checkevent EVENT_CLEARED_RADIO_TOWER
|
||||
iftrue UnknownScript_0x1a471c
|
||||
writetext UnknownText_0x1a494a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1a471c:
|
||||
writetext UnknownText_0x1a4983
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CooltrainerFScript_0x1a4722:
|
||||
@ -97,21 +97,21 @@ SantosScript:
|
||||
iffalse SantosDoneScript
|
||||
setevent EVENT_GOT_SPELL_TAG_FROM_SANTOS
|
||||
writetext SantosGaveGiftText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
SantosSaturdayScript:
|
||||
writetext SantosSaturdayText
|
||||
closetext
|
||||
waitbutton
|
||||
SantosDoneScript:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
SantosNotSaturdayScript:
|
||||
writetext SantosNotSaturdayText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
BlackthornCitySign:
|
||||
|
@ -9,8 +9,8 @@ Emy:
|
||||
faceplayer
|
||||
loadfont
|
||||
trade $3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
EmysHouseBookshelf:
|
||||
|
@ -12,8 +12,8 @@ EkansScript_0x19594c:
|
||||
loadfont
|
||||
writetext UnknownText_0x1959ee
|
||||
cry DRATINI
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x195956:
|
||||
|
@ -31,17 +31,17 @@ ClairScript_0x194e24:
|
||||
checkevent EVENT_BEAT_CLAIR
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x194efa
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext UnknownText_0x194fd6, 0
|
||||
loadtrainer CLAIR, 1
|
||||
scriptedtrainerdata CLAIR, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_CLAIR
|
||||
loadfont
|
||||
writetext UnknownText_0x19500e
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_BEAT_COOLTRAINERM_PAUL
|
||||
setevent EVENT_BEAT_COOLTRAINERM_CODY
|
||||
setevent EVENT_BEAT_COOLTRAINERM_MIKE
|
||||
@ -53,8 +53,8 @@ ClairScript_0x194e24:
|
||||
end
|
||||
.FightDone
|
||||
writetext UnknownText_0x195162
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x194e69:
|
||||
@ -67,7 +67,7 @@ UnknownScript_0x194e69:
|
||||
itemtotext TM_DRAGONBREATH, $0
|
||||
writetext UnknownText_0x1951bf
|
||||
playsound SFX_ITEM
|
||||
waitbutton
|
||||
waitsfx
|
||||
itemnotify
|
||||
setevent EVENT_GOT_TM24_DRAGONBREATH
|
||||
writetext UnknownText_0x1951d1
|
||||
@ -76,47 +76,47 @@ UnknownScript_0x194e69:
|
||||
|
||||
UnknownScript_0x194e8e:
|
||||
writetext UnknownText_0x19524f
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x194e94:
|
||||
writetext UnknownText_0x195272
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerCooltrainermPaul:
|
||||
trainer EVENT_BEAT_COOLTRAINERM_PAUL, COOLTRAINERM, PAUL, CooltrainermPaulSeenText, CooltrainermPaulBeatenText, 0, CooltrainermPaulScript
|
||||
|
||||
CooltrainermPaulScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x1953f1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerCooltrainermMike:
|
||||
trainer EVENT_BEAT_COOLTRAINERM_MIKE, COOLTRAINERM, MIKE, CooltrainermMikeSeenText, CooltrainermMikeBeatenText, 0, CooltrainermMikeScript
|
||||
|
||||
CooltrainermMikeScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x195467
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerCooltrainerfLola:
|
||||
trainer EVENT_BEAT_COOLTRAINERF_LOLA, COOLTRAINERF, LOLA, CooltrainerfLolaSeenText, CooltrainerfLolaBeatenText, 0, CooltrainerfLolaScript
|
||||
|
||||
CooltrainerfLolaScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x195516
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
BlackthornGymGuyScript:
|
||||
@ -125,14 +125,14 @@ BlackthornGymGuyScript:
|
||||
checkevent EVENT_BEAT_CLAIR
|
||||
iftrue .BlackthornGymGuyWinScript
|
||||
writetext BlackthornGymGuyText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.BlackthornGymGuyWinScript
|
||||
writetext BlackthornGymGuyWinText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
BlackthornGymStatue:
|
||||
|
@ -45,8 +45,8 @@ BlackthornGym2F_MapScriptHeader:
|
||||
scall .FX
|
||||
loadfont
|
||||
writetext BlackthornGym2FBoulderFellText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.FX
|
||||
@ -62,22 +62,22 @@ TrainerCooltrainermCody:
|
||||
trainer EVENT_BEAT_COOLTRAINERM_CODY, COOLTRAINERM, CODY, CooltrainermCodySeenText, CooltrainermCodyBeatenText, 0, CooltrainermCodyScript
|
||||
|
||||
CooltrainermCodyScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x1957d5
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerCooltrainerfFran:
|
||||
trainer EVENT_BEAT_COOLTRAINERF_FRAN, COOLTRAINERF, FRAN, CooltrainerfFranSeenText, CooltrainerfFranBeatenText, 0, CooltrainerfFranScript
|
||||
|
||||
CooltrainerfFranScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x195883
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CooltrainermCodySeenText:
|
||||
|
@ -8,7 +8,7 @@ BlackthornMart_MapScriptHeader:
|
||||
ClerkScript_0x195a5d:
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_BLACKTHORN
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CooltrainerMScript_0x195a64:
|
||||
|
@ -11,8 +11,8 @@ DaisyScript_0x19b0d0:
|
||||
checkcode VAR_HOUR
|
||||
if_equal $f, UnknownScript_0x19b0de
|
||||
writetext UnknownText_0x19b130
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19b0de:
|
||||
@ -22,14 +22,14 @@ UnknownScript_0x19b0de:
|
||||
yesorno
|
||||
iffalse UnknownScript_0x19b124
|
||||
writetext UnknownText_0x19b244
|
||||
closetext
|
||||
waitbutton
|
||||
special Special_DaisyMassage
|
||||
if_equal 0, UnknownScript_0x19b124
|
||||
if_equal 1, UnknownScript_0x19b12a
|
||||
setflag ENGINE_TEA_IN_BLUES_HOUSE
|
||||
writetext UnknownText_0x19b266
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
special RotatePalettesRightPalettes
|
||||
playmusic MUSIC_HEAL
|
||||
pause 60
|
||||
@ -40,26 +40,26 @@ UnknownScript_0x19b0de:
|
||||
special PlayCurMonCry
|
||||
keeptextopen
|
||||
writetext UnknownText_0x19b2aa
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19b11e:
|
||||
writetext UnknownText_0x19b2fa
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19b124:
|
||||
writetext UnknownText_0x19b334
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19b12a:
|
||||
writetext UnknownText_0x19b377
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownText_0x19b130:
|
||||
|
@ -38,10 +38,10 @@ UnknownScript_0x1809ad:
|
||||
earthquake 80
|
||||
changeblock $4, $e, $2a
|
||||
reloadmappart
|
||||
loadmovesprites
|
||||
closetext
|
||||
dotrigger $1
|
||||
setevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
|
||||
waitbutton
|
||||
waitsfx
|
||||
end
|
||||
|
||||
BrunoScript_0x1809c5:
|
||||
@ -50,29 +50,29 @@ BrunoScript_0x1809c5:
|
||||
checkevent EVENT_BEAT_ELITE_4_BRUNO
|
||||
iftrue UnknownScript_0x1809f3
|
||||
writetext UnknownText_0x1809fe
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext UnknownText_0x180b23, 0
|
||||
loadtrainer BRUNO, 1
|
||||
scriptedtrainerdata BRUNO, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_ELITE_4_BRUNO
|
||||
loadfont
|
||||
writetext UnknownText_0x180b3c
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
playsound SFX_ENTER_DOOR
|
||||
changeblock $4, $2, $16
|
||||
reloadmappart
|
||||
loadmovesprites
|
||||
closetext
|
||||
setevent EVENT_BRUNOS_ROOM_EXIT_OPEN
|
||||
waitbutton
|
||||
waitsfx
|
||||
end
|
||||
|
||||
UnknownScript_0x1809f3:
|
||||
writetext UnknownText_0x180b3c
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
MovementData_0x1809f9:
|
||||
|
@ -41,8 +41,8 @@ UnknownScript_0x185c0d:
|
||||
applymovement $3, MovementData_0x185cd3
|
||||
loadfont
|
||||
writetext UnknownText_0x185ecc
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
moveperson $3, $9, $e
|
||||
dotrigger $1
|
||||
end
|
||||
@ -58,15 +58,15 @@ UnknownScript_0x185c25:
|
||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||
loadfont
|
||||
writetext UnknownText_0x185cd9
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
||||
iftrue UnknownScript_0x185c60
|
||||
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
||||
iftrue UnknownScript_0x185c70
|
||||
winlosstext UnknownText_0x185d9b, UnknownText_0x185e2c
|
||||
setlasttalked $4
|
||||
loadtrainer RIVAL1, RIVAL1_9
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_9
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
@ -75,7 +75,7 @@ UnknownScript_0x185c25:
|
||||
UnknownScript_0x185c60:
|
||||
winlosstext UnknownText_0x185d9b, UnknownText_0x185e2c
|
||||
setlasttalked $4
|
||||
loadtrainer RIVAL1, RIVAL1_7
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_7
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
@ -84,7 +84,7 @@ UnknownScript_0x185c60:
|
||||
UnknownScript_0x185c70:
|
||||
winlosstext UnknownText_0x185d9b, UnknownText_0x185e2c
|
||||
setlasttalked $4
|
||||
loadtrainer RIVAL1, RIVAL1_8
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_8
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
@ -94,8 +94,8 @@ UnknownScript_0x185c80:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
writetext UnknownText_0x185de2
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
dotrigger $2
|
||||
setevent EVENT_RIVAL_BURNED_TOWER
|
||||
special Special_RotatePalettesRightMusic
|
||||
@ -103,7 +103,7 @@ UnknownScript_0x185c80:
|
||||
earthquake 50
|
||||
showemote EMOTE_SHOCK, PLAYER, 15
|
||||
playsound SFX_ENTER_DOOR
|
||||
waitbutton
|
||||
waitsfx
|
||||
changeblock $a, $8, $25
|
||||
reloadmappart
|
||||
pause 15
|
||||
@ -112,8 +112,8 @@ UnknownScript_0x185c80:
|
||||
showemote EMOTE_SHOCK, $4, 20
|
||||
loadfont
|
||||
writetext UnknownText_0x185e75
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_HOLE_IN_BURNED_TOWER
|
||||
pause 15
|
||||
warpcheck
|
||||
|
@ -52,12 +52,12 @@ UnknownScript_0x18616b:
|
||||
spriteface PLAYER, LEFT
|
||||
applymovement $3, MovementData_0x186236
|
||||
disappear $3
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_WARP_FROM
|
||||
spriteface PLAYER, RIGHT
|
||||
applymovement $4, MovementData_0x18623b
|
||||
disappear $4
|
||||
waitbutton
|
||||
waitsfx
|
||||
pause 15
|
||||
playsound SFX_WARP_FROM
|
||||
spriteface PLAYER, UP
|
||||
@ -73,7 +73,7 @@ UnknownScript_0x18616b:
|
||||
applymovement $5, MovementData_0x186253
|
||||
spriteface PLAYER, DOWN
|
||||
disappear $5
|
||||
waitbutton
|
||||
waitsfx
|
||||
special RestartMapMusic
|
||||
dotrigger $1
|
||||
setevent EVENT_RELEASED_THE_BEASTS
|
||||
@ -89,7 +89,7 @@ UnknownScript_0x18616b:
|
||||
refreshscreen $0
|
||||
changeblock $6, $e, $1b
|
||||
reloadmappart
|
||||
loadmovesprites
|
||||
closetext
|
||||
dotrigger $1
|
||||
end
|
||||
|
||||
@ -97,8 +97,8 @@ SuperNerdScript_0x186212:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x18626a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkcode VAR_FACING
|
||||
if_equal $1, UnknownScript_0x186226
|
||||
applymovement $a, MovementData_0x186263
|
||||
@ -109,7 +109,7 @@ UnknownScript_0x186226:
|
||||
UnknownScript_0x18622a:
|
||||
disappear $a
|
||||
playsound SFX_EXIT_BUILDING
|
||||
waitbutton
|
||||
waitsfx
|
||||
end
|
||||
|
||||
ItemFragment_0x186231:
|
||||
|
@ -9,46 +9,46 @@ SuperNerdScript_0x73049:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x730de
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
FisherScript_0x73051:
|
||||
loadfont
|
||||
writetext UnknownText_0x73129
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x7313a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $3, LEFT
|
||||
end
|
||||
|
||||
FisherScript_0x73062:
|
||||
loadfont
|
||||
writetext UnknownText_0x7316a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x73178
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $4, RIGHT
|
||||
end
|
||||
|
||||
FisherScript_0x73073:
|
||||
loadfont
|
||||
writetext UnknownText_0x731ae
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x731bd
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $5, RIGHT
|
||||
end
|
||||
|
||||
@ -57,26 +57,26 @@ TeacherScript_0x73084:
|
||||
iftrue UnknownScript_0x7309a
|
||||
loadfont
|
||||
writetext UnknownText_0x73201
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x73212
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $6, LEFT
|
||||
end
|
||||
|
||||
UnknownScript_0x7309a:
|
||||
loadfont
|
||||
writetext UnknownText_0x73254
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $6, RIGHT
|
||||
loadfont
|
||||
writetext UnknownText_0x73278
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $6, LEFT
|
||||
end
|
||||
|
||||
@ -92,9 +92,9 @@ CeladonCafeTrashcan:
|
||||
itemtotext LEFTOVERS, $0
|
||||
writetext FoundLeftoversText
|
||||
playsound SFX_ITEM
|
||||
waitbutton
|
||||
waitsfx
|
||||
itemnotify
|
||||
loadmovesprites
|
||||
closetext
|
||||
setevent EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE
|
||||
end
|
||||
|
||||
@ -104,8 +104,8 @@ CeladonCafeTrashcan:
|
||||
writetext FoundLeftoversText
|
||||
keeptextopen
|
||||
writetext NoRoomForLeftoversText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.TrashEmpty
|
||||
|
@ -19,8 +19,8 @@ CeladonCityPoliwrath:
|
||||
loadfont
|
||||
writetext CeladonCityPoliwrathText
|
||||
cry POLIWRATH
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TeacherScript_0x1a9f50:
|
||||
|
@ -9,14 +9,14 @@ ClerkScript_0x70bad:
|
||||
faceplayer
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_1
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
ClerkScript_0x70bb5:
|
||||
faceplayer
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_2F_2
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
PokefanMScript_0x70bbd:
|
||||
|
@ -9,7 +9,7 @@ ClerkScript_0x70d29:
|
||||
faceplayer
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_3F
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
YoungsterScript_0x70d31:
|
||||
@ -19,8 +19,8 @@ GameboyKidScript_0x70d34:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x70d86
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $4, DOWN
|
||||
end
|
||||
|
||||
@ -28,8 +28,8 @@ GameboyKidScript_0x70d3f:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x70dc7
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $5, DOWN
|
||||
end
|
||||
|
||||
|
@ -9,7 +9,7 @@ ClerkScript_0x70f0d:
|
||||
faceplayer
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_4F
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
SuperNerdScript_0x70f15:
|
||||
|
@ -9,14 +9,14 @@ ClerkScript_0x71004:
|
||||
faceplayer
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_1
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
ClerkScript_0x7100c:
|
||||
faceplayer
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_CELADON_5F_2
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
GentlemanScript_0x71014:
|
||||
|
@ -30,7 +30,7 @@ CeladonVendingMachine:
|
||||
if_equal $1, .FreshWater
|
||||
if_equal $2, .SodaPop
|
||||
if_equal $3, .Lemonade
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
.FreshWater
|
||||
@ -70,12 +70,12 @@ CeladonVendingMachine:
|
||||
|
||||
.NotEnoughMoney
|
||||
writetext CeladonVendingNoMoneyText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .Start
|
||||
|
||||
.NotEnoughSpace
|
||||
writetext CeladonVendingNoSpaceText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .Start
|
||||
|
||||
.MenuData
|
||||
|
@ -8,12 +8,12 @@ CeladonDeptStoreElevator_MapScriptHeader:
|
||||
MapCeladonDeptStoreElevatorSignpost0Script:
|
||||
loadfont
|
||||
elevator Elevator_0x713be
|
||||
loadmovesprites
|
||||
closetext
|
||||
iffalse UnknownScript_0x713bd
|
||||
pause 5
|
||||
playsound SFX_ELEVATOR
|
||||
earthquake 60
|
||||
waitbutton
|
||||
waitsfx
|
||||
UnknownScript_0x713bd:
|
||||
end
|
||||
|
||||
|
@ -15,8 +15,8 @@ PokefanMScript_0x72123:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x72215
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $4, LEFT
|
||||
end
|
||||
|
||||
@ -24,8 +24,8 @@ TeacherScript_0x7212e:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x72242
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $5, RIGHT
|
||||
end
|
||||
|
||||
@ -33,8 +33,8 @@ FishingGuruScript_0x72139:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x72295
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $6, RIGHT
|
||||
end
|
||||
|
||||
@ -55,8 +55,8 @@ FisherScript_0x72144:
|
||||
setevent EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON
|
||||
.UnknownScript_0x72169
|
||||
writetext UnknownText_0x72345
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface LAST_TALKED, LEFT
|
||||
end
|
||||
|
||||
@ -69,15 +69,15 @@ FisherScript_0x72144:
|
||||
|
||||
UnknownScript_0x7217b:
|
||||
writetext UnknownText_0x7238a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface LAST_TALKED, LEFT
|
||||
end
|
||||
|
||||
UnknownScript_0x72184:
|
||||
writetext UnknownText_0x723d9
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface LAST_TALKED, LEFT
|
||||
end
|
||||
|
||||
@ -88,8 +88,8 @@ GrampsScript_0x72190:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x724ad
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $a, LEFT
|
||||
end
|
||||
|
||||
@ -105,20 +105,20 @@ MapCeladonGameCornerSignpost35Script:
|
||||
refreshscreen $0
|
||||
writebyte $0
|
||||
special Special_SlotMachine
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
MapCeladonGameCornerSignpost16Script:
|
||||
refreshscreen $0
|
||||
writebyte $1
|
||||
special Special_SlotMachine
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
MapCeladonGameCornerSignpost11Script:
|
||||
refreshscreen $0
|
||||
special Special_CardFlip
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
MapCeladonGameCornerSignpost32Script:
|
||||
@ -127,9 +127,9 @@ MapCeladonGameCornerSignpost32Script:
|
||||
MapCeladonGameCornerSignpost9Script:
|
||||
loadfont
|
||||
writetext UnknownText_0x72567
|
||||
closetext
|
||||
waitbutton
|
||||
special Special_CardFlip
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
MovementData_0x721cd:
|
||||
|
@ -15,7 +15,7 @@ MapCeladonGameCornerPrizeRoomSignpost0Script:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x7293e
|
||||
closetext
|
||||
waitbutton
|
||||
checkitem COIN_CASE
|
||||
iffalse CeladonPrizeRoom_NoCoinCase
|
||||
writetext UnknownText_0x72974
|
||||
@ -68,34 +68,34 @@ CeladonPrizeRoom_askbuy:
|
||||
end
|
||||
|
||||
CeladonPrizeRoom_purchased:
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
writetext UnknownText_0x729ad
|
||||
closetext
|
||||
waitbutton
|
||||
jump CeladonPrizeRoom_tmcounterloop
|
||||
|
||||
CeladonPrizeRoom_notenoughcoins:
|
||||
writetext UnknownText_0x729bb
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeladonPrizeRoom_notenoughroom:
|
||||
writetext UnknownText_0x729d8
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeladonPrizeRoom_cancel:
|
||||
writetext UnknownText_0x729f2
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeladonPrizeRoom_NoCoinCase:
|
||||
writetext UnknownText_0x72a14
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
|
||||
@ -119,7 +119,7 @@ MapCeladonGameCornerPrizeRoomSignpost1Script:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x7293e
|
||||
closetext
|
||||
waitbutton
|
||||
checkitem COIN_CASE
|
||||
iffalse CeladonPrizeRoom_NoCoinCase
|
||||
.loop:
|
||||
@ -141,10 +141,10 @@ MapCeladonGameCornerPrizeRoomSignpost1Script:
|
||||
pokenamemem PIKACHU, $0
|
||||
scall CeladonPrizeRoom_askbuy
|
||||
iffalse CeladonPrizeRoom_cancel
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
writetext UnknownText_0x729ad
|
||||
closetext
|
||||
waitbutton
|
||||
writebyte PIKACHU
|
||||
special Special_GameCornerPrizeMonCheckDex
|
||||
givepoke PIKACHU, 25
|
||||
@ -159,10 +159,10 @@ MapCeladonGameCornerPrizeRoomSignpost1Script:
|
||||
pokenamemem PORYGON, $0
|
||||
scall CeladonPrizeRoom_askbuy
|
||||
iffalse CeladonPrizeRoom_cancel
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
writetext UnknownText_0x729ad
|
||||
closetext
|
||||
waitbutton
|
||||
writebyte PORYGON
|
||||
special Special_GameCornerPrizeMonCheckDex
|
||||
givepoke PORYGON, 15
|
||||
@ -177,10 +177,10 @@ MapCeladonGameCornerPrizeRoomSignpost1Script:
|
||||
pokenamemem LARVITAR, $0
|
||||
scall CeladonPrizeRoom_askbuy
|
||||
iffalse CeladonPrizeRoom_cancel
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
writetext UnknownText_0x729ad
|
||||
closetext
|
||||
waitbutton
|
||||
writebyte LARVITAR
|
||||
special Special_GameCornerPrizeMonCheckDex
|
||||
givepoke LARVITAR, 40
|
||||
|
@ -11,10 +11,10 @@ ErikaScript_0x72a6a:
|
||||
checkflag ENGINE_RAINBOWBADGE
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x72b28
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext UnknownText_0x72c3e, 0
|
||||
loadtrainer ERIKA, 1
|
||||
scriptedtrainerdata ERIKA, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_ERIKA
|
||||
@ -25,7 +25,7 @@ ErikaScript_0x72a6a:
|
||||
loadfont
|
||||
writetext UnknownText_0x72c96
|
||||
playsound SFX_GET_BADGE
|
||||
waitbutton
|
||||
waitsfx
|
||||
setflag ENGINE_RAINBOWBADGE
|
||||
.FightDone
|
||||
checkevent EVENT_GOT_TM19_GIGA_DRAIN
|
||||
@ -37,63 +37,63 @@ ErikaScript_0x72a6a:
|
||||
setevent EVENT_GOT_TM19_GIGA_DRAIN
|
||||
UnknownScript_0x72aae:
|
||||
writetext UnknownText_0x72d8f
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerLassMichelle:
|
||||
trainer EVENT_BEAT_LASS_MICHELLE, LASS, MICHELLE, LassMichelleSeenText, LassMichelleBeatenText, 0, LassMichelleScript
|
||||
|
||||
LassMichelleScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x72e30
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerPicnickerTanya:
|
||||
trainer EVENT_BEAT_PICNICKER_TANYA, PICNICKER, TANYA, PicnickerTanyaSeenText, PicnickerTanyaBeatenText, 0, PicnickerTanyaScript
|
||||
|
||||
PicnickerTanyaScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x72e8e
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerBeautyJulia:
|
||||
trainer EVENT_BEAT_BEAUTY_JULIA, BEAUTY, JULIA, BeautyJuliaSeenText, BeautyJuliaBeatenText, 0, BeautyJuliaScript
|
||||
|
||||
BeautyJuliaScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x72f01
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerTwinsJoandzoe1:
|
||||
trainer EVENT_BEAT_TWINS_JO_AND_ZOE, TWINS, JOANDZOE1, TwinsJoandzoe1SeenText, TwinsJoandzoe1BeatenText, 0, TwinsJoandzoe1Script
|
||||
|
||||
TwinsJoandzoe1Script:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x72f70
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerTwinsJoandzoe2:
|
||||
trainer EVENT_BEAT_TWINS_JO_AND_ZOE, TWINS, JOANDZOE2, TwinsJoandzoe2SeenText, TwinsJoandzoe2BeatenText, 0, TwinsJoandzoe2Script
|
||||
|
||||
TwinsJoandzoe2Script:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x72fc0
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeladonGymStatue:
|
||||
|
@ -12,24 +12,24 @@ CeladonMansion1FMeowth:
|
||||
loadfont
|
||||
writetext CeladonMansion1FMeowthText
|
||||
cry MEOWTH
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeladonMansion1FClefairy:
|
||||
loadfont
|
||||
writetext CeladonMansion1FClefairyText
|
||||
cry CLEFAIRY
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeladonMansion1FNidoranF:
|
||||
loadfont
|
||||
writetext CeladonMansion1FNidoranFText
|
||||
cry NIDORAN_F
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeladonMansionManagersSuiteSign:
|
||||
|
@ -11,21 +11,21 @@ CooltrainerMScript_0x71670:
|
||||
writetext UnknownText_0x716ce
|
||||
checkcode VAR_DEXCAUGHT
|
||||
if_greater_than 248, UnknownScript_0x7167e
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x7167e:
|
||||
keeptextopen
|
||||
writetext UnknownText_0x71725
|
||||
playsound SFX_DEX_FANFARE_230_PLUS
|
||||
waitbutton
|
||||
waitsfx
|
||||
writetext UnknownText_0x71760
|
||||
keeptextopen
|
||||
special Diploma
|
||||
writetext UnknownText_0x71763
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_ENABLE_DIPLOMA_PRINTING
|
||||
end
|
||||
|
||||
@ -35,8 +35,8 @@ GymGuyScript_0x71696:
|
||||
checkevent EVENT_ENABLE_DIPLOMA_PRINTING
|
||||
iftrue UnknownScript_0x716a4
|
||||
writetext UnknownText_0x717b4
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x716a4:
|
||||
@ -44,19 +44,19 @@ UnknownScript_0x716a4:
|
||||
yesorno
|
||||
iffalse UnknownScript_0x716b0
|
||||
special PrintDiploma
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x716b0:
|
||||
writetext UnknownText_0x71830
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x716b6:
|
||||
writetext UnknownText_0x71863
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
SuperNerdScript_0x716bc:
|
||||
|
@ -15,8 +15,8 @@ PharmacistScript_0x71afd:
|
||||
checknite
|
||||
iftrue UnknownScript_0x71b14
|
||||
writetext UnknownText_0x71b4a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x71b14:
|
||||
@ -27,9 +27,9 @@ UnknownScript_0x71b14:
|
||||
setevent EVENT_GOT_TM03_CURSE
|
||||
UnknownScript_0x71b21:
|
||||
writetext UnknownText_0x71db3
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x71b25:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownText_0x71b27:
|
||||
|
@ -28,15 +28,15 @@ SuperNerdScript_0x71e2e:
|
||||
special SpecialBeastsCheck
|
||||
iftrue UnknownScript_0x71e48
|
||||
writetext UnknownText_0x7201a
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x71e46:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x71e48:
|
||||
writetext UnknownText_0x71f65
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkcode VAR_FACING
|
||||
if_equal $1, UnknownScript_0x71e5a
|
||||
applymovement $6, MovementData_0x71e6b
|
||||
@ -47,7 +47,7 @@ UnknownScript_0x71e5a:
|
||||
UnknownScript_0x71e5e:
|
||||
disappear $6
|
||||
playsound SFX_EXIT_BUILDING
|
||||
waitbutton
|
||||
waitsfx
|
||||
end
|
||||
|
||||
MovementData_0x71e65:
|
||||
|
@ -18,14 +18,14 @@ CooltrainerMScript_0x184009:
|
||||
checkevent EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x184017
|
||||
writetext UnknownText_0x1840bc
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x184017:
|
||||
writetext UnknownText_0x184144
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
SuperNerdScript_0x18401d:
|
||||
@ -35,30 +35,30 @@ CeruleanCitySlowbro:
|
||||
loadfont
|
||||
writetext CeruleanCitySlowbroText
|
||||
cry SLOWBRO
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CooltrainerFScript_0x18402a:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x1841fa
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $5, LEFT
|
||||
loadfont
|
||||
writetext UnknownText_0x184229
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
loadfont
|
||||
writetext CeruleanCitySlowbroText
|
||||
cry SLOWBRO
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
loadfont
|
||||
writetext UnknownText_0x18424b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
FisherScript_0x18404a:
|
||||
@ -70,50 +70,50 @@ FisherScript_0x18404a:
|
||||
iftrue UnknownScript_0x18405e
|
||||
UnknownScript_0x184058:
|
||||
writetext UnknownText_0x18424e
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x18405e:
|
||||
writetext UnknownText_0x184275
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
YoungsterScript_0x184064:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x1842a9
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkevent EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY
|
||||
iffalse UnknownScript_0x184072
|
||||
end
|
||||
|
||||
UnknownScript_0x184072:
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
||||
waitbutton
|
||||
waitsfx
|
||||
playsound SFX_TRANSACTION
|
||||
waitbutton
|
||||
waitsfx
|
||||
showemote EMOTE_SHOCK, $7, 15
|
||||
spriteface $7, LEFT
|
||||
loadfont
|
||||
writetext UnknownText_0x1842ee
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeruleanCitySign:
|
||||
|
@ -23,19 +23,19 @@ UnknownScript_0x1883de:
|
||||
playmusic MUSIC_ROCKET_ENCOUNTER
|
||||
loadfont
|
||||
writetext UnknownText_0x1884fb
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
showemote EMOTE_SHOCK, $2, 15
|
||||
applymovement $2, MovementData_0x1884f7
|
||||
loadfont
|
||||
writetext UnknownText_0x188574
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x1884f5
|
||||
loadfont
|
||||
writetext UnknownText_0x1885a5
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x1884e8
|
||||
playsound SFX_EXIT_BUILDING
|
||||
disappear $2
|
||||
@ -45,7 +45,7 @@ UnknownScript_0x1883de:
|
||||
dotrigger $0
|
||||
domaptrigger ROUTE_25, $1
|
||||
domaptrigger POWER_PLANT, $0
|
||||
waitbutton
|
||||
waitsfx
|
||||
special RestartMapMusic
|
||||
pause 15
|
||||
spriteface PLAYER, DOWN
|
||||
@ -58,10 +58,10 @@ MistyScript_0x188432:
|
||||
checkflag ENGINE_CASCADEBADGE
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x188674
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext UnknownText_0x18870c, 0
|
||||
loadtrainer MISTY, 1
|
||||
scriptedtrainerdata MISTY, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_MISTY
|
||||
@ -71,45 +71,45 @@ MistyScript_0x188432:
|
||||
loadfont
|
||||
writetext UnknownText_0x188768
|
||||
playsound SFX_GET_BADGE
|
||||
waitbutton
|
||||
waitsfx
|
||||
setflag ENGINE_CASCADEBADGE
|
||||
.FightDone
|
||||
writetext UnknownText_0x188782
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerSwimmerfDiana:
|
||||
trainer EVENT_BEAT_SWIMMERF_DIANA, SWIMMERF, DIANA, SwimmerfDianaSeenText, SwimmerfDianaBeatenText, 0, SwimmerfDianaScript
|
||||
|
||||
SwimmerfDianaScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x188856
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerSwimmerfBriana:
|
||||
trainer EVENT_BEAT_SWIMMERF_BRIANA, SWIMMERF, BRIANA, SwimmerfBrianaSeenText, SwimmerfBrianaBeatenText, 0, SwimmerfBrianaScript
|
||||
|
||||
SwimmerfBrianaScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x1888c0
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerSwimmermParker:
|
||||
trainer EVENT_BEAT_SWIMMERM_PARKER, SWIMMERM, PARKER, SwimmermParkerSeenText, SwimmermParkerBeatenText, 0, SwimmermParkerScript
|
||||
|
||||
SwimmermParkerScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x188943
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeruleanGymGuyScript:
|
||||
@ -118,14 +118,14 @@ CeruleanGymGuyScript:
|
||||
checkevent EVENT_BEAT_MISTY
|
||||
iftrue .CeruleanGymGuyWinScript
|
||||
writetext CeruleanGymGuyText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.CeruleanGymGuyWinScript
|
||||
writetext CeruleanGymGuyWinText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
MapCeruleanGymSignpostItem0:
|
||||
@ -137,8 +137,8 @@ CeruleanGymStatue1:
|
||||
iffalse CeruleanGymStatue
|
||||
loadfont
|
||||
writetext CeruleanGymNote1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeruleanGymStatue2:
|
||||
@ -146,8 +146,8 @@ CeruleanGymStatue2:
|
||||
iffalse CeruleanGymStatue
|
||||
loadfont
|
||||
writetext CeruleanGymNote2
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CeruleanGymStatue:
|
||||
|
@ -8,7 +8,7 @@ CeruleanMart_MapScriptHeader:
|
||||
ClerkScript_0x188ac0:
|
||||
loadfont
|
||||
pokemart MARTTYPE_STANDARD, MART_CERULEAN
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CooltrainerMScript_0x188ac7:
|
||||
|
@ -15,8 +15,8 @@ DiglettScript_0x188050:
|
||||
loadfont
|
||||
writetext UnknownText_0x1880e7
|
||||
cry DIGLETT
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownText_0x18805a:
|
||||
|
@ -15,16 +15,16 @@ RhydonScript_0x188139:
|
||||
loadfont
|
||||
writetext UnknownText_0x18819c
|
||||
cry KANGASKHAN
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
ZubatScript_0x188143:
|
||||
loadfont
|
||||
writetext UnknownText_0x1881b5
|
||||
cry ZUBAT
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownText_0x18814d:
|
||||
|
@ -13,20 +13,20 @@ CharcoalKilnBoss:
|
||||
checkevent EVENT_CLEARED_SLOWPOKE_WELL
|
||||
iftrue .SavedSlowpoke
|
||||
writetext CharcoalKilnBossText1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.SavedSlowpoke
|
||||
writetext CharcoalKilnBossText2
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.GotCut
|
||||
writetext CharcoalKilnBossText3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CharcoalKilnApprentice:
|
||||
@ -37,8 +37,8 @@ CharcoalKilnApprentice:
|
||||
checkevent EVENT_GOT_HM01_CUT
|
||||
iftrue .Thanks
|
||||
writetext CharcoalKilnApprenticeText1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.Thanks
|
||||
@ -47,14 +47,14 @@ CharcoalKilnApprentice:
|
||||
verbosegiveitem CHARCOAL
|
||||
iffalse .Done
|
||||
setevent EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
.YoureTheCoolest
|
||||
writetext CharcoalKilnApprenticeText3
|
||||
closetext
|
||||
waitbutton
|
||||
.Done
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CharcoalKilnFarfetchd:
|
||||
@ -62,8 +62,8 @@ CharcoalKilnFarfetchd:
|
||||
loadfont
|
||||
writetext FarfetchdText
|
||||
cry FARFETCH_D
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CharcoalKilnBookshelf:
|
||||
|
@ -31,33 +31,33 @@ CherrygroveCityGuideGent:
|
||||
jump .Yes
|
||||
.Yes
|
||||
writetext GuideGentTourText1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
playmusic MUSIC_SHOW_ME_AROUND
|
||||
follow $2, PLAYER
|
||||
applymovement $2, MovementData_0x19c195
|
||||
loadfont
|
||||
writetext GuideGentPokeCenterText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x19c19b
|
||||
spriteface PLAYER, UP
|
||||
loadfont
|
||||
writetext GuideGentMartText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x19c1a3
|
||||
spriteface PLAYER, UP
|
||||
loadfont
|
||||
writetext GuideGentRoute30Text
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x19c1ac
|
||||
spriteface PLAYER, LEFT
|
||||
loadfont
|
||||
writetext GuideGentSeaText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x19c1b6
|
||||
spriteface PLAYER, UP
|
||||
pause 60
|
||||
@ -72,8 +72,8 @@ CherrygroveCityGuideGent:
|
||||
writetext GotMapCardText
|
||||
keeptextopen
|
||||
writetext GuideGentPokegearText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
stopfollow
|
||||
special RestartMapMusic
|
||||
spriteface PLAYER, UP
|
||||
@ -81,7 +81,7 @@ CherrygroveCityGuideGent:
|
||||
playsound SFX_ENTER_DOOR
|
||||
disappear $2
|
||||
clearevent EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE
|
||||
waitbutton
|
||||
waitsfx
|
||||
end
|
||||
|
||||
.UnknownScript_0x19c097
|
||||
@ -93,8 +93,8 @@ CherrygroveCityGuideGent:
|
||||
|
||||
.No
|
||||
writetext GuideGentNoText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19c0aa:
|
||||
@ -111,15 +111,15 @@ UnknownScript_0x19c0ae:
|
||||
playmusic MUSIC_RIVAL_ENCOUNTER
|
||||
loadfont
|
||||
writetext UnknownText_0x19c4e2
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
||||
iftrue UnknownScript_0x19c0ee
|
||||
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
||||
iftrue UnknownScript_0x19c104
|
||||
winlosstext UnknownText_0x19c57f, UnknownText_0x19c5e6
|
||||
setlasttalked $3
|
||||
loadtrainer RIVAL1, RIVAL1_3
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_3
|
||||
writecode VAR_BATTLETYPE, BATTLETYPE_CANLOSE
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
@ -130,7 +130,7 @@ UnknownScript_0x19c0ae:
|
||||
UnknownScript_0x19c0ee:
|
||||
winlosstext UnknownText_0x19c57f, UnknownText_0x19c5e6
|
||||
setlasttalked $3
|
||||
loadtrainer RIVAL1, RIVAL1_1
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_1
|
||||
writecode VAR_BATTLETYPE, BATTLETYPE_CANLOSE
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
@ -141,7 +141,7 @@ UnknownScript_0x19c0ee:
|
||||
UnknownScript_0x19c104:
|
||||
winlosstext UnknownText_0x19c57f, UnknownText_0x19c5e6
|
||||
setlasttalked $3
|
||||
loadtrainer RIVAL1, RIVAL1_2
|
||||
scriptedtrainerdata RIVAL1, RIVAL1_2
|
||||
writecode VAR_BATTLETYPE, BATTLETYPE_CANLOSE
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
@ -153,16 +153,16 @@ UnknownScript_0x19c11a:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
writetext UnknownText_0x19c608
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
jump UnknownScript_0x19c12f
|
||||
|
||||
UnknownScript_0x19c126:
|
||||
playmusic MUSIC_RIVAL_AFTER
|
||||
loadfont
|
||||
writetext UnknownText_0x19c59e
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
UnknownScript_0x19c12f:
|
||||
playsound SFX_TACKLE
|
||||
applymovement PLAYER, MovementData_0x19c1d4
|
||||
@ -180,14 +180,14 @@ TeacherScript_0x19c146:
|
||||
checkflag ENGINE_MAP_CARD
|
||||
iftrue UnknownScript_0x19c154
|
||||
writetext UnknownText_0x19c650
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19c154:
|
||||
writetext UnknownText_0x19c6a8
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
YoungsterScript_0x19c15a:
|
||||
@ -196,14 +196,14 @@ YoungsterScript_0x19c15a:
|
||||
checkflag ENGINE_POKEDEX
|
||||
iftrue UnknownScript_0x19c168
|
||||
writetext UnknownText_0x19c6d6
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19c168:
|
||||
writetext UnknownText_0x19c701
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
MysticWaterGuy:
|
||||
@ -218,9 +218,9 @@ MysticWaterGuy:
|
||||
setevent EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE
|
||||
UnknownScript_0x19c183:
|
||||
writetext UnknownText_0x19c7c1
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x19c187:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CherrygroveCitySign:
|
||||
|
@ -8,15 +8,15 @@ CherrygroveEvolutionSpeechHouse_MapScriptHeader:
|
||||
YoungsterScript_0x196cb2:
|
||||
loadfont
|
||||
writetext UnknownText_0x196cc3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
LassScript_0x196cb9:
|
||||
loadfont
|
||||
writetext UnknownText_0x196cfc
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CherrygroveEvolutionSpeechHouseBookshelf:
|
||||
|
@ -10,12 +10,12 @@ ClerkScript_0x19680a:
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x196817
|
||||
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x196817:
|
||||
pokemart MARTTYPE_STANDARD, MART_CHERRYGROVE_DEX
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CooltrainerMScript_0x19681d:
|
||||
@ -24,14 +24,14 @@ CooltrainerMScript_0x19681d:
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x19682b
|
||||
writetext UnknownText_0x196834
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x19682b:
|
||||
writetext UnknownText_0x196873
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
YoungsterScript_0x196831:
|
||||
|
@ -20,14 +20,14 @@ TeacherScript_0x196976:
|
||||
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
||||
iftrue UnknownScript_0x196984
|
||||
writetext UnknownText_0x1969f1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x196984:
|
||||
writetext UnknownText_0x196a46
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownText_0x19698a:
|
||||
|
@ -50,19 +50,19 @@ UnknownScript_0x1a001e:
|
||||
applymovement $c, MovementData_0x1a00e7
|
||||
loadfont
|
||||
writetext UnknownText_0x1a0433
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext UnknownText_0x1a05a1, 0
|
||||
setlasttalked $c
|
||||
loadtrainer MYSTICALMAN, EUSINE
|
||||
scriptedtrainerdata MYSTICALMAN, EUSINE
|
||||
startbattle
|
||||
reloadmapmusic
|
||||
returnafterbattle
|
||||
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
|
||||
loadfont
|
||||
writetext UnknownText_0x1a05c3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $c, MovementData_0x1a00ec
|
||||
disappear $c
|
||||
pause 20
|
||||
@ -82,8 +82,8 @@ PokefanFScript_0x1a0084:
|
||||
checkevent EVENT_BEAT_CHUCK
|
||||
iftrue UnknownScript_0x1a009c
|
||||
writetext UnknownText_0x1a0163
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1a009c:
|
||||
@ -96,9 +96,9 @@ UnknownScript_0x1a009c:
|
||||
keeptextopen
|
||||
UnknownScript_0x1a00ad:
|
||||
writetext UnknownText_0x1a0277
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x1a00b1:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
StandingYoungsterScript_0x1a00b3:
|
||||
|
@ -12,16 +12,16 @@ FishingGuruScript_0x9e0e0:
|
||||
yesorno
|
||||
iffalse UnknownScript_0x9e0f3
|
||||
writetext UnknownText_0x9e142
|
||||
closetext
|
||||
waitbutton
|
||||
special PhotoStudio
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x9e0f3:
|
||||
writetext UnknownText_0x9e156
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownText_0x9e0f9:
|
||||
|
@ -11,13 +11,13 @@ ChuckScript_0x9d60f:
|
||||
checkevent EVENT_BEAT_CHUCK
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x9d6f9
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $2, RIGHT
|
||||
loadfont
|
||||
writetext UnknownText_0x9d76f
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $7, MovementData_0x9d6f3
|
||||
playsound SFX_STRENGTH
|
||||
earthquake 80
|
||||
@ -26,17 +26,17 @@ ChuckScript_0x9d60f:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x9d78a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext UnknownText_0x9d7f6, 0
|
||||
loadtrainer CHUCK, 1
|
||||
scriptedtrainerdata CHUCK, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_CHUCK
|
||||
loadfont
|
||||
writetext UnknownText_0x9d835
|
||||
playsound SFX_GET_BADGE
|
||||
waitbutton
|
||||
waitsfx
|
||||
setflag ENGINE_STORMBADGE
|
||||
checkcode VAR_BADGES
|
||||
scall CianwoodGymTriggerRockets
|
||||
@ -53,15 +53,15 @@ ChuckScript_0x9d60f:
|
||||
iffalse UnknownScript_0x9d67f
|
||||
setevent EVENT_GOT_TM01_DYNAMICPUNCH
|
||||
writetext UnknownText_0x9d8da
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x9d67b:
|
||||
writetext UnknownText_0x9d930
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x9d67f:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CianwoodGymTriggerRockets:
|
||||
@ -79,44 +79,44 @@ TrainerBlackbeltYoshi:
|
||||
trainer EVENT_BEAT_BLACKBELT_YOSHI, BLACKBELT_T, YOSHI, BlackbeltYoshiSeenText, BlackbeltYoshiBeatenText, 0, BlackbeltYoshiScript
|
||||
|
||||
BlackbeltYoshiScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9d9fa
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerBlackbeltLao:
|
||||
trainer EVENT_BEAT_BLACKBELT_LAO, BLACKBELT_T, LAO, BlackbeltLaoSeenText, BlackbeltLaoBeatenText, 0, BlackbeltLaoScript
|
||||
|
||||
BlackbeltLaoScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9da61
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerBlackbeltNob:
|
||||
trainer EVENT_BEAT_BLACKBELT_NOB, BLACKBELT_T, NOB, BlackbeltNobSeenText, BlackbeltNobBeatenText, 0, BlackbeltNobScript
|
||||
|
||||
BlackbeltNobScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9dac0
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerBlackbeltLung:
|
||||
trainer EVENT_BEAT_BLACKBELT_LUNG, BLACKBELT_T, LUNG, BlackbeltLungSeenText, BlackbeltLungBeatenText, 0, BlackbeltLungScript
|
||||
|
||||
BlackbeltLungScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9db14
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CianwoodGymBoulder:
|
||||
|
@ -23,17 +23,17 @@ CianwoodPharmacist:
|
||||
giveitem SECRETPOTION
|
||||
writetext ReceivedSecretpotionText
|
||||
playsound SFX_KEY_ITEM
|
||||
waitbutton
|
||||
waitsfx
|
||||
itemnotify
|
||||
setevent EVENT_GOT_SECRETPOTION_FROM_PHARMACY
|
||||
writetext PharmacistDescribeSecretpotionText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.Mart
|
||||
pokemart MARTTYPE_PHARMACY, MART_CIANWOOD
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CianwoodPharmacyBookshelf:
|
||||
|
@ -17,15 +17,15 @@ CianwoodGymGuyScript:
|
||||
iftrue .CianwoodGymGuyWinScript
|
||||
loadfont
|
||||
writetext CianwoodGymGuyText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.CianwoodGymGuyWinScript
|
||||
loadfont
|
||||
writetext CianwoodGymGuyWinText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
SuperNerdScript_0x9dbea:
|
||||
|
@ -16,8 +16,8 @@ CinnabarIslandBlue:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext CinnabarIslandBlueText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
playsound SFX_WARP_TO
|
||||
applymovement $2, CinnabarIslandBlueTeleport
|
||||
disappear $2
|
||||
|
@ -55,8 +55,8 @@ MapColosseumSignpost1Script:
|
||||
ChrisScript_0x193499:
|
||||
loadfont
|
||||
writetext .FriendReadyText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.FriendReadyText:
|
||||
|
@ -14,22 +14,22 @@ PokefanFScript_0x18ad16:
|
||||
checkevent EVENT_RETURNED_MACHINE_PART
|
||||
iftrue UnknownScript_0x18ad24
|
||||
writetext UnknownText_0x18ad95
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x18ad24:
|
||||
writetext UnknownText_0x18add3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
ClefairyScript_0x18ad2a:
|
||||
loadfont
|
||||
writetext UnknownText_0x18ae4b
|
||||
cry BLISSEY
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownText_0x18ad34:
|
||||
|
@ -53,8 +53,8 @@ Copycat:
|
||||
.Part3
|
||||
writetext UnknownText_0x18b316
|
||||
.Part4
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue .Part5
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
@ -68,8 +68,8 @@ Copycat:
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
writetext UnknownText_0x18b028
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.Part7
|
||||
@ -82,8 +82,8 @@ Copycat:
|
||||
.Part8
|
||||
writetext UnknownText_0x18b366
|
||||
.Part9
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue .Part10
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
@ -97,8 +97,8 @@ Copycat:
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
writetext UnknownText_0x18b116
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM
|
||||
end
|
||||
|
||||
@ -120,8 +120,8 @@ Copycat:
|
||||
iffalse .Part22
|
||||
setevent EVENT_GOT_PASS_FROM_COPYCAT
|
||||
writetext UnknownText_0x18b214
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.Part15
|
||||
@ -147,8 +147,8 @@ Copycat:
|
||||
.Part18
|
||||
writetext UnknownText_0x18b415
|
||||
.Part19
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue .Part20
|
||||
applymovement $2, MovementData_0x18afd0
|
||||
@ -162,9 +162,9 @@ Copycat:
|
||||
special RunCallback_04
|
||||
loadfont
|
||||
writetext UnknownText_0x18b2f5
|
||||
closetext
|
||||
waitbutton
|
||||
.Part22
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
CopycatsDodrio:
|
||||
@ -173,8 +173,8 @@ CopycatsDodrio:
|
||||
cry DODRIO
|
||||
keeptextopen
|
||||
writetext CopycatsDodrioText2
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CopycatsHouse2FDoll:
|
||||
|
@ -9,55 +9,55 @@ TrainerKimono_girlNaoko2:
|
||||
trainer EVENT_BEAT_KIMONO_GIRL_NAOKO, KIMONO_GIRL, NAOKO2, Kimono_girlNaoko2SeenText, Kimono_girlNaoko2BeatenText, 0, Kimono_girlNaoko2Script
|
||||
|
||||
Kimono_girlNaoko2Script:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x99579
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerKimono_girlSayo:
|
||||
trainer EVENT_BEAT_KIMONO_GIRL_SAYO, KIMONO_GIRL, SAYO, Kimono_girlSayoSeenText, Kimono_girlSayoBeatenText, 0, Kimono_girlSayoScript
|
||||
|
||||
Kimono_girlSayoScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9960b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerKimono_girlZuki:
|
||||
trainer EVENT_BEAT_KIMONO_GIRL_ZUKI, KIMONO_GIRL, ZUKI, Kimono_girlZukiSeenText, Kimono_girlZukiBeatenText, 0, Kimono_girlZukiScript
|
||||
|
||||
Kimono_girlZukiScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x99688
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerKimono_girlKuni:
|
||||
trainer EVENT_BEAT_KIMONO_GIRL_KUNI, KIMONO_GIRL, KUNI, Kimono_girlKuniSeenText, Kimono_girlKuniBeatenText, 0, Kimono_girlKuniScript
|
||||
|
||||
Kimono_girlKuniScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x99714
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerKimono_girlMiki:
|
||||
trainer EVENT_BEAT_KIMONO_GIRL_MIKI, KIMONO_GIRL, MIKI, Kimono_girlMikiSeenText, Kimono_girlMikiBeatenText, 0, Kimono_girlMikiScript
|
||||
|
||||
Kimono_girlMikiScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x997a8
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
GentlemanScript_0x994c6:
|
||||
@ -83,14 +83,14 @@ UnknownScript_0x994f3:
|
||||
checkflag ENGINE_PLAYER_IS_FEMALE
|
||||
iftrue UnknownScript_0x994ff
|
||||
writetext UnknownText_0x99891
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x994ff:
|
||||
writetext UnknownText_0x998d4
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x99505:
|
||||
@ -99,22 +99,22 @@ UnknownScript_0x99505:
|
||||
verbosegiveitem HM_SURF
|
||||
setevent EVENT_GOT_HM03_SURF
|
||||
writetext UnknownText_0x9999b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x99515:
|
||||
writetext UnknownText_0x999d5
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
RhydonScript_0x9951b:
|
||||
loadfont
|
||||
writetext UnknownText_0x99a0a
|
||||
cry RHYDON
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
CooltrainerMScript_0x99525:
|
||||
|
@ -17,9 +17,9 @@ PharmacistScript_0x18c720:
|
||||
setevent EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE
|
||||
UnknownScript_0x18c735:
|
||||
writetext UnknownText_0x18c80c
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x18c739:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
ItemFragment_0x18c73b:
|
||||
|
@ -28,31 +28,31 @@ GrampsScript_0x62f8f:
|
||||
iftrue UnknownScript_0x62fbd
|
||||
writetext UnknownText_0x630ce
|
||||
keeptextopen
|
||||
loadmovesprites
|
||||
closetext
|
||||
checkcode VAR_PARTYCOUNT
|
||||
if_equal $6, UnknownScript_0x62fb6
|
||||
special Function117656
|
||||
loadfont
|
||||
writetext UnknownText_0x631ae
|
||||
playsound SFX_KEY_ITEM
|
||||
waitbutton
|
||||
waitsfx
|
||||
writetext UnknownText_0x631c3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_GOT_ODD_EGG
|
||||
end
|
||||
|
||||
UnknownScript_0x62fb6:
|
||||
loadfont
|
||||
writetext UnknownText_0x63237
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x62fbd:
|
||||
special Special_DayCareMan
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
GrannyScript_0x62fc3:
|
||||
@ -61,14 +61,14 @@ GrannyScript_0x62fc3:
|
||||
checkflag ENGINE_DAYCARE_MONS_ARE_COMPATIBLE
|
||||
iftrue UnknownScript_0x62fd1
|
||||
special Special_DayCareLady
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x62fd1:
|
||||
writetext UnknownText_0x62fda
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
DayCareBookshelf:
|
||||
|
@ -88,17 +88,17 @@ DragonShrineTestScript:
|
||||
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
|
||||
iftrue .Question2
|
||||
.WrongAnswer:
|
||||
loadmovesprites
|
||||
closetext
|
||||
spriteface $2, LEFT
|
||||
loadfont
|
||||
writetext UnknownText_0x18d7f6
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $2, DOWN
|
||||
loadfont
|
||||
writetext UnknownText_0x18d816
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
|
||||
loadfont
|
||||
checkevent EVENT_DRAGON_SHRINE_QUESTION_5
|
||||
@ -113,13 +113,13 @@ DragonShrineTestScript:
|
||||
iftrue .Question1
|
||||
.PassedTheTest:
|
||||
writetext UnknownText_0x18d47c
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
playsound SFX_ENTER_DOOR
|
||||
showemote EMOTE_SHOCK, PLAYER, 15
|
||||
playmusic MUSIC_CLAIR
|
||||
appear $5
|
||||
waitbutton
|
||||
waitsfx
|
||||
spriteface PLAYER, DOWN
|
||||
pause 30
|
||||
applymovement $5, MovementData_0x18d2d4
|
||||
@ -128,37 +128,37 @@ DragonShrineTestScript:
|
||||
spriteface $2, LEFT
|
||||
loadfont
|
||||
writetext UnknownText_0x18d916
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
special Special_RotatePalettesRightMusic
|
||||
applymovement $5, MovementData_0x18d2da
|
||||
loadfont
|
||||
writetext UnknownText_0x18d974
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $5, MovementData_0x18d2dd
|
||||
loadfont
|
||||
writetext UnknownText_0x18d983
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x18d2c9
|
||||
spriteface $5, UP
|
||||
loadfont
|
||||
writetext UnknownText_0x18d520
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
showemote EMOTE_SHOCK, $5, 15
|
||||
loadfont
|
||||
writetext UnknownText_0x18d9ae
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $5, MovementData_0x18d2e0
|
||||
loadfont
|
||||
writetext UnknownText_0x18d9bf
|
||||
closetext
|
||||
waitbutton
|
||||
setflag ENGINE_RISINGBADGE
|
||||
playsound SFX_GET_BADGE
|
||||
waitbutton
|
||||
waitsfx
|
||||
special RestartMapMusic
|
||||
specialphonecall SPECIALCALL_MASTERBALL
|
||||
dotrigger $1
|
||||
@ -166,24 +166,24 @@ DragonShrineTestScript:
|
||||
writetext UnknownText_0x18d9f2
|
||||
keeptextopen
|
||||
writetext UnknownText_0x18da0b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $2, MovementData_0x18d2ce
|
||||
spriteface $5, UP
|
||||
applymovement $2, MovementData_0x18d2d1
|
||||
spriteface PLAYER, UP
|
||||
loadfont
|
||||
writetext UnknownText_0x18d5a3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
loadfont
|
||||
writetext UnknownText_0x18dab4
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
applymovement $5, MovementData_0x18d2e3
|
||||
playsound SFX_ENTER_DOOR
|
||||
disappear $5
|
||||
waitbutton
|
||||
waitsfx
|
||||
setevent EVENT_GAVE_KURT_APRICORNS
|
||||
end
|
||||
|
||||
@ -199,66 +199,66 @@ ElderScript_0x18d1a5:
|
||||
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
|
||||
iftrue .BeatRivalInMtMoon
|
||||
writetext UnknownText_0x18d724
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.GiveDratini:
|
||||
writetext UnknownText_0x18d604
|
||||
closetext
|
||||
waitbutton
|
||||
checkcode VAR_PARTYCOUNT
|
||||
if_equal 6, .PartyFull
|
||||
writetext UnknownText_0x18d697
|
||||
playsound SFX_CAUGHT_MON
|
||||
waitbutton
|
||||
waitsfx
|
||||
givepoke DRATINI, 15
|
||||
checkevent EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG
|
||||
special SpecialDratini
|
||||
setevent EVENT_GOT_DRATINI
|
||||
setevent EVENT_JUST_RECEIVED_DRATINI
|
||||
writetext UnknownText_0x18d6ca
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.PartyFull:
|
||||
writetext UnknownText_0x18d6ac
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.BeatRivalInMtMoon:
|
||||
writetext UnknownText_0x18d782
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.DontGiveDratiniYet:
|
||||
writetext UnknownText_0x18d5e5
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.ReceivedDratini:
|
||||
writetext UnknownText_0x18d6ca
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
ElderScript_0x18d205:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x18d840
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
ElderScript_0x18d20d:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x18d8b1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
|
||||
|
@ -41,7 +41,7 @@ UnknownScript_0x18c8b8:
|
||||
loadfont
|
||||
writetext UnknownText_0x18c9b8
|
||||
pause 30
|
||||
loadmovesprites
|
||||
closetext
|
||||
showemote EMOTE_SHOCK, PLAYER, 15
|
||||
spriteface PLAYER, LEFT
|
||||
playmusic MUSIC_CLAIR
|
||||
@ -54,20 +54,20 @@ UnknownScript_0x18c8b8:
|
||||
itemtotext TM_DRAGONBREATH, $0
|
||||
writetext UnknownText_0x18c9fb
|
||||
playsound SFX_ITEM
|
||||
waitbutton
|
||||
waitsfx
|
||||
itemnotify
|
||||
setevent EVENT_GOT_TM24_DRAGONBREATH
|
||||
writetext UnknownText_0x18ca0d
|
||||
keeptextopen
|
||||
writetext UnknownText_0x18caf1
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
jump UnknownScript_0x18c8f9
|
||||
|
||||
UnknownScript_0x18c8f4:
|
||||
writetext UnknownText_0x18ca8b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
UnknownScript_0x18c8f9:
|
||||
applymovement $3, MovementData_0x18c9b3
|
||||
special Special_RotatePalettesRightMusic
|
||||
@ -81,44 +81,44 @@ TrainerCooltrainermDarin:
|
||||
trainer EVENT_BEAT_COOLTRAINERM_DARIN, COOLTRAINERM, DARIN, CooltrainermDarinSeenText, CooltrainermDarinBeatenText, 0, CooltrainermDarinScript
|
||||
|
||||
CooltrainermDarinScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18cd82
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerCooltrainerfCara:
|
||||
trainer EVENT_BEAT_COOLTRAINERF_CARA, COOLTRAINERF, CARA, CooltrainerfCaraSeenText, CooltrainerfCaraBeatenText, 0, CooltrainerfCaraScript
|
||||
|
||||
CooltrainerfCaraScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18ce11
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerTwinsLeaandpia1:
|
||||
trainer EVENT_BEAT_TWINS_LEA_AND_PIA, TWINS, LEAANDPIA1, TwinsLeaandpia1SeenText, TwinsLeaandpia1BeatenText, 0, TwinsLeaandpia1Script
|
||||
|
||||
TwinsLeaandpia1Script:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18ced3
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerTwinsLeaandpia2:
|
||||
trainer EVENT_BEAT_TWINS_LEA_AND_PIA, TWINS, LEAANDPIA1, TwinsLeaandpia2SeenText, TwinsLeaandpia2BeatenText, 0, TwinsLeaandpia2Script
|
||||
|
||||
TwinsLeaandpia2Script:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x18cf0f
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
PokeBallScript_0x18c95a:
|
||||
@ -129,9 +129,9 @@ PokeBallScript_0x18c95a:
|
||||
itemtotext DRAGON_FANG, $0
|
||||
writetext UnknownText_0x18cf41
|
||||
playsound SFX_ITEM
|
||||
waitbutton
|
||||
waitsfx
|
||||
itemnotify
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
UnknownScript_0x18c970:
|
||||
@ -140,8 +140,8 @@ UnknownScript_0x18c970:
|
||||
writetext UnknownText_0x18cf41
|
||||
keeptextopen
|
||||
writetext UnknownText_0x18cf51
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
SilverScript_0x18c97e:
|
||||
@ -151,16 +151,16 @@ SilverScript_0x18c97e:
|
||||
checkevent EVENT_GAVE_KURT_APRICORNS
|
||||
iftrue UnknownScript_0x18c995
|
||||
writetext UnknownText_0x18cc83
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
setevent EVENT_GAVE_KURT_APRICORNS
|
||||
special RestartMapMusic
|
||||
end
|
||||
|
||||
UnknownScript_0x18c995:
|
||||
writetext UnknownText_0x18cd2d
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
special RestartMapMusic
|
||||
end
|
||||
|
||||
|
@ -20,14 +20,14 @@ AcademyEarl:
|
||||
yesorno
|
||||
iffalse .Done
|
||||
writetext UnknownText_0x68c7b
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.Done
|
||||
writetext UnknownText_0x68d31
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
YoungsterScript_0x68a83:
|
||||
@ -37,8 +37,8 @@ GameboyKidScript_0x68a86:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x68dda
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $4, DOWN
|
||||
end
|
||||
|
||||
@ -46,8 +46,8 @@ GameboyKidScript_0x68a91:
|
||||
faceplayer
|
||||
loadfont
|
||||
writetext UnknownText_0x68e07
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
spriteface $5, DOWN
|
||||
end
|
||||
|
||||
@ -66,32 +66,32 @@ AcademyBlackboard:
|
||||
if_equal $3, .Sleep
|
||||
if_equal $4, .Burn
|
||||
if_equal $5, .Freeze
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
.Poison
|
||||
writetext AcademyPoisonText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .Loop
|
||||
|
||||
.Paralysis
|
||||
writetext AcademyParalysisText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .Loop
|
||||
|
||||
.Sleep
|
||||
writetext AcademySleepText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .Loop
|
||||
|
||||
.Burn
|
||||
writetext AcademyBurnText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .Loop
|
||||
|
||||
.Freeze:
|
||||
writetext AcademyFreezeText
|
||||
closetext
|
||||
waitbutton
|
||||
jump .Loop
|
||||
|
||||
.MenuHeader
|
||||
@ -128,9 +128,9 @@ AcademyNotebook:
|
||||
yesorno
|
||||
iffalse .Done
|
||||
writetext AcademyNotebookText3
|
||||
closetext
|
||||
waitbutton
|
||||
.Done
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
AcademyStickerMachine:
|
||||
|
@ -30,14 +30,14 @@ LassScript_0x1a4015:
|
||||
checkevent EVENT_RELEASED_THE_BEASTS
|
||||
iftrue UnknownScript_0x1a4023
|
||||
writetext UnknownText_0x1a421a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1a4023:
|
||||
writetext UnknownText_0x1a4269
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
FisherScript_0x1a4029:
|
||||
@ -46,14 +46,14 @@ FisherScript_0x1a4029:
|
||||
checkevent EVENT_JASMINE_RETURNED_TO_GYM
|
||||
iftrue UnknownScript_0x1a4037
|
||||
writetext UnknownText_0x1a42ac
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x1a4037:
|
||||
writetext UnknownText_0x1a4325
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
YoungsterScript_0x1a403d:
|
||||
|
@ -22,17 +22,17 @@ MortyScript_0x99d58:
|
||||
checkevent EVENT_BEAT_MORTY
|
||||
iftrue .FightDone
|
||||
writetext UnknownText_0x99e65
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
winlosstext UnknownText_0x9a00a, 0
|
||||
loadtrainer MORTY, 1
|
||||
scriptedtrainerdata MORTY, 1
|
||||
startbattle
|
||||
returnafterbattle
|
||||
setevent EVENT_BEAT_MORTY
|
||||
loadfont
|
||||
writetext UnknownText_0x9a043
|
||||
playsound SFX_GET_BADGE
|
||||
waitbutton
|
||||
waitsfx
|
||||
setflag ENGINE_FOGBADGE
|
||||
checkcode VAR_BADGES
|
||||
scall EcruteakGymTriggerRockets
|
||||
@ -52,15 +52,15 @@ MortyScript_0x99d58:
|
||||
iffalse UnknownScript_0x99db5
|
||||
setevent EVENT_GOT_TM30_SHADOW_BALL
|
||||
writetext UnknownText_0x9a0ec
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
UnknownScript_0x99db1:
|
||||
writetext UnknownText_0x9a145
|
||||
closetext
|
||||
waitbutton
|
||||
UnknownScript_0x99db5:
|
||||
loadmovesprites
|
||||
closetext
|
||||
end
|
||||
|
||||
EcruteakGymTriggerRockets:
|
||||
@ -79,14 +79,14 @@ UnknownScript_0x99dc6:
|
||||
applymovement $8, MovementData_0x99e63
|
||||
loadfont
|
||||
writetext UnknownText_0x9a49c
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
follow PLAYER, $8
|
||||
applymovement PLAYER, MovementData_0x99e5f
|
||||
stopfollow
|
||||
special RotatePalettesRightPalettes
|
||||
playsound SFX_ENTER_DOOR
|
||||
waitbutton
|
||||
waitsfx
|
||||
warp ECRUTEAK_CITY, $6, $1b
|
||||
end
|
||||
|
||||
@ -94,44 +94,44 @@ TrainerSageJeffrey:
|
||||
trainer EVENT_BEAT_SAGE_JEFFREY, SAGE, JEFFREY, SageJeffreySeenText, SageJeffreyBeatenText, 0, SageJeffreyScript
|
||||
|
||||
SageJeffreyScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9a263
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerSagePing:
|
||||
trainer EVENT_BEAT_SAGE_PING, SAGE, PING, SagePingSeenText, SagePingBeatenText, 0, SagePingScript
|
||||
|
||||
SagePingScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9a2b7
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerMediumMartha:
|
||||
trainer EVENT_BEAT_MEDIUM_MARTHA, MEDIUM, MARTHA, MediumMarthaSeenText, MediumMarthaBeatenText, 0, MediumMarthaScript
|
||||
|
||||
MediumMarthaScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9a318
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
TrainerMediumGrace:
|
||||
trainer EVENT_BEAT_MEDIUM_GRACE, MEDIUM, GRACE, MediumGraceSeenText, MediumGraceBeatenText, 0, MediumGraceScript
|
||||
|
||||
MediumGraceScript:
|
||||
talkaftercancel
|
||||
end_if_just_battled
|
||||
loadfont
|
||||
writetext UnknownText_0x9a38a
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
EcruteakGymGuyScript:
|
||||
@ -140,14 +140,14 @@ EcruteakGymGuyScript:
|
||||
checkevent EVENT_BEAT_MORTY
|
||||
iftrue .EcruteakGymGuyWinScript
|
||||
writetext EcruteakGymGuyText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
.EcruteakGymGuyWinScript
|
||||
writetext EcruteakGymGuyWinText
|
||||
waitbutton
|
||||
closetext
|
||||
loadmovesprites
|
||||
end
|
||||
|
||||
EcruteakGymStatue:
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user