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