2015-07-10 01:45:35 -07:00
|
|
|
IndigoPlateauPokeCenter1F_MapScriptHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; trigger count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x180009, $0000
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 5, UnknownScript_0x18000a
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x180009:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x18000a:
|
2013-02-16 22:54:07 -08:00
|
|
|
domaptrigger GROUP_WILLS_ROOM, MAP_WILLS_ROOM, $0
|
|
|
|
domaptrigger GROUP_KOGAS_ROOM, MAP_KOGAS_ROOM, $0
|
|
|
|
domaptrigger GROUP_BRUNOS_ROOM, MAP_BRUNOS_ROOM, $0
|
|
|
|
domaptrigger GROUP_KARENS_ROOM, MAP_KARENS_ROOM, $0
|
|
|
|
domaptrigger GROUP_LANCES_ROOM, MAP_LANCES_ROOM, $0
|
|
|
|
domaptrigger GROUP_HALL_OF_FAME, MAP_HALL_OF_FAME, $0
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_WILLS_ROOM_ENTRANCE_CLOSED
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_WILLS_ROOM_EXIT_OPEN
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_KOGAS_ROOM_ENTRANCE_CLOSED
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_KOGAS_ROOM_EXIT_OPEN
|
|
|
|
clearevent EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_BRUNOS_ROOM_EXIT_OPEN
|
|
|
|
clearevent EVENT_KARENS_ROOM_ENTRANCE_CLOSED
|
|
|
|
clearevent EVENT_KARENS_ROOM_EXIT_OPEN
|
|
|
|
clearevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
2015-07-16 15:10:10 -07:00
|
|
|
clearevent EVENT_LANCES_ROOM_EXIT_OPEN
|
2015-07-10 01:20:21 -07:00
|
|
|
clearevent EVENT_BEAT_ELITE_4_WILL
|
|
|
|
clearevent EVENT_BEAT_ELITE_4_KOGA
|
|
|
|
clearevent EVENT_BEAT_ELITE_4_BRUNO
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_BEAT_ELITE_4_KAREN
|
|
|
|
clearevent EVENT_BEAT_CHAMPION_LANCE
|
2015-07-11 23:00:17 -07:00
|
|
|
setevent EVENT_75F
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x180053:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x18012b
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x18012b
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-16 22:54:07 -08:00
|
|
|
if_equal SUNDAY, UnknownScript_0x18012b
|
|
|
|
if_equal TUESDAY, UnknownScript_0x18012b
|
|
|
|
if_equal THURSDAY, UnknownScript_0x18012b
|
|
|
|
if_equal FRIDAY, UnknownScript_0x18012b
|
|
|
|
if_equal SATURDAY, UnknownScript_0x18012b
|
|
|
|
moveperson $5, $11, $9
|
|
|
|
appear $5
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $0, DOWN
|
2015-07-15 12:48:44 -07:00
|
|
|
showemote EMOTE_SHOCK, $0, 15
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc48f
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
applymovement $5, MovementData_0x180164
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $0, RIGHT
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x1800ce
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x180094:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_BEAT_RIVAL_IN_MT_MOON
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x18012b
|
2015-07-10 05:08:03 -07:00
|
|
|
checkflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x18012b
|
2015-07-09 19:08:03 -07:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-16 22:54:07 -08:00
|
|
|
if_equal SUNDAY, UnknownScript_0x18012b
|
|
|
|
if_equal TUESDAY, UnknownScript_0x18012b
|
|
|
|
if_equal THURSDAY, UnknownScript_0x18012b
|
|
|
|
if_equal FRIDAY, UnknownScript_0x18012b
|
|
|
|
if_equal SATURDAY, UnknownScript_0x18012b
|
|
|
|
appear $5
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $0, DOWN
|
2015-07-15 12:48:44 -07:00
|
|
|
showemote EMOTE_SHOCK, $0, 15
|
2015-02-11 15:03:42 -08:00
|
|
|
special Functionc48f
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
applymovement $5, MovementData_0x18016b
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $0, LEFT
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x1800ce:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1801f5
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-11 23:00:17 -07:00
|
|
|
setevent EVENT_77B
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1800f3
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x180103
|
|
|
|
winlosstext UnknownText_0x180295, UnknownText_0x1802fd
|
|
|
|
setlasttalked $5
|
|
|
|
loadtrainer RIVAL2, 6
|
|
|
|
startbattle
|
|
|
|
reloadmapmusic
|
|
|
|
returnafterbattle
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x180113
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x1800f3:
|
2013-02-16 22:54:07 -08:00
|
|
|
winlosstext UnknownText_0x180295, UnknownText_0x1802fd
|
|
|
|
setlasttalked $5
|
|
|
|
loadtrainer RIVAL2, 4
|
|
|
|
startbattle
|
|
|
|
reloadmapmusic
|
|
|
|
returnafterbattle
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x180113
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x180103:
|
2013-02-16 22:54:07 -08:00
|
|
|
winlosstext UnknownText_0x180295, UnknownText_0x1802fd
|
|
|
|
setlasttalked $5
|
|
|
|
loadtrainer RIVAL2, 5
|
|
|
|
startbattle
|
|
|
|
reloadmapmusic
|
|
|
|
returnafterbattle
|
2015-01-20 00:01:23 -08:00
|
|
|
jump UnknownScript_0x180113
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x180113:
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_AFTER
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1802a4
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $0, DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $5, MovementData_0x180172
|
|
|
|
disappear $5
|
|
|
|
dotrigger $0
|
|
|
|
playmapmusic
|
2015-07-10 05:08:03 -07:00
|
|
|
setflag ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x18012b:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
NurseScript_0x18012c:
|
2015-06-23 13:21:54 -07:00
|
|
|
jumpstd pokecenternurse
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
ClerkScript_0x18012f:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
|
|
|
pokemart $0, $0020
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
CooltrainerMScript_0x180136:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x180178
|
|
|
|
|
2015-06-24 20:20:04 -07:00
|
|
|
TeleportGuyScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-06-24 20:20:04 -07:00
|
|
|
writetext TeleportGuyText1
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-06-24 20:20:04 -07:00
|
|
|
iffalse .No
|
|
|
|
writetext TeleportGuyYesText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_WARP_TO
|
2015-02-11 15:03:42 -08:00
|
|
|
special Function8c084
|
2013-02-16 22:54:07 -08:00
|
|
|
waitbutton
|
|
|
|
warp GROUP_NEW_BARK_TOWN, MAP_NEW_BARK_TOWN, $d, $6
|
|
|
|
end
|
|
|
|
|
2015-06-24 20:20:04 -07:00
|
|
|
.No
|
|
|
|
writetext TeleportGuyNoText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-24 20:20:04 -07:00
|
|
|
AbraScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-06-24 20:20:04 -07:00
|
|
|
writetext AbraText
|
2013-02-16 22:54:07 -08:00
|
|
|
cry ABRA
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x180164:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x18016b:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x180172:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x180178:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "At the #MON"
|
|
|
|
line "LEAGUE, you'll get"
|
|
|
|
|
|
|
|
para "tested by the"
|
|
|
|
line "ELITE FOUR."
|
|
|
|
|
|
|
|
para "You have to beat"
|
|
|
|
line "them all. If you"
|
|
|
|
|
|
|
|
para "lose, you have to"
|
|
|
|
line "start all over!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x1801f5:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hold it."
|
|
|
|
|
|
|
|
para "You're going to"
|
|
|
|
line "take the #MON"
|
|
|
|
|
|
|
|
para "LEAGUE challenge"
|
|
|
|
line "now?"
|
|
|
|
|
|
|
|
para "That's not going"
|
|
|
|
line "to happen."
|
|
|
|
|
|
|
|
para "My super-well-"
|
|
|
|
line "trained #MON"
|
|
|
|
|
|
|
|
para "are going to pound"
|
|
|
|
line "you."
|
|
|
|
|
2015-06-27 21:59:17 -07:00
|
|
|
para "<PLAYER>!"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "I challenge you!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x180295:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…"
|
|
|
|
|
|
|
|
para "OK--I lost…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x1802a4:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…Darn… I still"
|
|
|
|
line "can't win…"
|
|
|
|
|
|
|
|
para "I… I have to think"
|
|
|
|
line "more about my"
|
|
|
|
cont "#MON…"
|
|
|
|
|
|
|
|
para "Humph! Try not to"
|
|
|
|
line "lose!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x1802fd:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…"
|
|
|
|
|
|
|
|
para "Whew…"
|
|
|
|
line "With my partners,"
|
|
|
|
|
|
|
|
para "I'm going to be"
|
|
|
|
line "the CHAMPION!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-24 20:20:04 -07:00
|
|
|
TeleportGuyText1:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ah! You're chal-"
|
|
|
|
line "lenging the ELITE"
|
|
|
|
|
|
|
|
para "FOUR? Are you sure"
|
|
|
|
line "you're ready?"
|
|
|
|
|
|
|
|
para "If you need to"
|
|
|
|
line "train some more,"
|
|
|
|
|
|
|
|
para "my ABRA can help"
|
|
|
|
line "you."
|
|
|
|
|
|
|
|
para "It can TELEPORT"
|
|
|
|
line "you home."
|
|
|
|
|
|
|
|
para "Would you like to"
|
|
|
|
line "go home now?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-24 20:20:04 -07:00
|
|
|
TeleportGuyYesText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OK, OK. Picture"
|
|
|
|
line "your house in your"
|
|
|
|
cont "mind…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-24 20:20:04 -07:00
|
|
|
TeleportGuyNoText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OK, OK. The best"
|
|
|
|
line "of luck to you!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-24 20:20:04 -07:00
|
|
|
AbraText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ABRA: Aabra…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
IndigoPlateauPokeCenter1F_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 4
|
|
|
|
warp_def $d, $5, 1, GROUP_ROUTE_23, MAP_ROUTE_23
|
|
|
|
warp_def $d, $6, 2, GROUP_ROUTE_23, MAP_ROUTE_23
|
|
|
|
warp_def $d, $0, 1, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
|
|
|
|
warp_def $3, $e, 1, GROUP_WILLS_ROOM, MAP_WILLS_ROOM
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 2
|
|
|
|
xy_trigger 0, $4, $10, $0, UnknownScript_0x180053, $0, $0
|
|
|
|
xy_trigger 0, $4, $11, $0, UnknownScript_0x180094, $0, $0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 6
|
2015-07-16 15:10:10 -07:00
|
|
|
person_event SPRITE_NURSE, 11, 7, UP << 2 | $2, $0, -1, -1, $0, 0, NurseScript_0x18012c, -1
|
|
|
|
person_event SPRITE_CLERK, 11, 15, UP << 2 | $2, $0, -1, -1, $0, 0, ClerkScript_0x18012f, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_M, 15, 15, DOWN << 2 | $2, $22, -1, -1, $0, 0, CooltrainerMScript_0x180136, -1
|
|
|
|
person_event SPRITE_SILVER, 13, 20, UP << 2 | $3, $0, -1, -1, $0, 0, ObjectEvent, EVENT_77B
|
|
|
|
person_event SPRITE_GRAMPS, 13, 5, UP << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, TeleportGuyScript, EVENT_TELEPORT_GUY
|
|
|
|
person_event SPRITE_JYNX, 13, 4, UP << 2 | $12, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, AbraScript, EVENT_TELEPORT_GUY
|