2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const LANCESROOM_LANCE
|
|
|
|
const LANCESROOM_TEACHER
|
|
|
|
const LANCESROOM_OAK
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
LancesRoom_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-11-02 19:37:02 +00:00
|
|
|
dw UnknownScript_0x180e39, 0
|
|
|
|
dw UnknownScript_0x180e3d, 0
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 1, UnknownScript_0x180e3e
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e39:
|
2013-02-17 06:54:07 +00:00
|
|
|
priorityjump UnknownScript_0x180e53
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e3d:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e3e:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
2013-02-17 06:54:07 +00:00
|
|
|
iffalse UnknownScript_0x180e48
|
|
|
|
changeblock $4, $16, $34
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e48:
|
2015-07-16 22:10:10 +00:00
|
|
|
checkevent EVENT_LANCES_ROOM_EXIT_OPEN
|
2013-02-17 06:54:07 +00:00
|
|
|
iffalse UnknownScript_0x180e52
|
|
|
|
changeblock $4, $0, $b
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e52:
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e53:
|
2015-07-22 06:49:18 +00:00
|
|
|
applymovement PLAYER, MovementData_0x180f33
|
2013-02-17 06:54:07 +00:00
|
|
|
refreshscreen $86
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_STRENGTH
|
2013-02-17 06:54:07 +00:00
|
|
|
earthquake 80
|
|
|
|
changeblock $4, $16, $34
|
|
|
|
reloadmappart
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
dotrigger $1
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e6a:
|
2015-11-20 16:47:52 +00:00
|
|
|
special Special_RotatePalettesRightMusic
|
2015-07-22 06:49:18 +00:00
|
|
|
applymovement PLAYER, MovementData_0x180f38
|
2015-01-20 08:01:23 +00:00
|
|
|
jump LanceScript_0x180e7b
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x180e74:
|
2015-11-20 16:47:52 +00:00
|
|
|
special Special_RotatePalettesRightMusic
|
2015-07-22 06:49:18 +00:00
|
|
|
applymovement PLAYER, MovementData_0x180f3c
|
2015-07-10 08:20:21 +00:00
|
|
|
LanceScript_0x180e7b:
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface LANCESROOM_LANCE, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x180f67
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-02 19:37:02 +00:00
|
|
|
winlosstext UnknownText_0x1810a4, 0
|
2013-02-17 06:54:07 +00:00
|
|
|
setlasttalked $2
|
2015-11-25 15:16:29 +00:00
|
|
|
scriptedtrainerdata CHAMPION, LANCE
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
|
|
|
reloadmapmusic
|
|
|
|
returnafterbattle
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_BEAT_CHAMPION_LANCE
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x181132
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ENTER_DOOR
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $4, $0, $b
|
|
|
|
reloadmappart
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
2015-06-26 04:01:08 +00:00
|
|
|
musicfadeout MUSIC_BEAUTY_ENCOUNTER, $10
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 30
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, LANCESROOM_LANCE, 15
|
|
|
|
spriteface LANCESROOM_LANCE, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 10
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, DOWN
|
2015-11-27 05:22:14 +00:00
|
|
|
appear LANCESROOM_TEACHER
|
|
|
|
applymovement LANCESROOM_TEACHER, MovementData_0x180f41
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1811dd
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
appear LANCESROOM_OAK
|
|
|
|
applymovement LANCESROOM_OAK, MovementData_0x180f46
|
|
|
|
follow LANCESROOM_TEACHER, LANCESROOM_OAK
|
|
|
|
applymovement LANCESROOM_TEACHER, MovementData_0x180f49
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface LANCESROOM_OAK, UP
|
|
|
|
spriteface LANCESROOM_LANCE, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x18121b
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement LANCESROOM_TEACHER, MovementData_0x180f4c
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x18134b
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement LANCESROOM_LANCE, MovementData_0x180f4f
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x18137b
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
follow LANCESROOM_LANCE, PLAYER
|
|
|
|
spriteface LANCESROOM_TEACHER, UP
|
|
|
|
spriteface LANCESROOM_OAK, UP
|
|
|
|
applymovement LANCESROOM_LANCE, MovementData_0x180f53
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear LANCESROOM_LANCE
|
2015-07-22 06:49:18 +00:00
|
|
|
applymovement PLAYER, MovementData_0x180f55
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-07-22 06:49:18 +00:00
|
|
|
disappear PLAYER
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement LANCESROOM_TEACHER, MovementData_0x180f57
|
|
|
|
showemote EMOTE_SHOCK, LANCESROOM_TEACHER, 15
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1813c5
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 30
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement LANCESROOM_TEACHER, MovementData_0x180f5b
|
2015-11-27 02:05:32 +00:00
|
|
|
special FadeOutPalettes
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-03 20:05:19 +00:00
|
|
|
warpfacing UP, HALL_OF_FAME, $4, $d
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f33:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f38:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f3c:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_left
|
|
|
|
step_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f41:
|
2013-02-17 06:54:07 +00:00
|
|
|
big_step_up
|
|
|
|
big_step_up
|
|
|
|
big_step_up
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f46:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f49:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f4c:
|
2013-02-17 06:54:07 +00:00
|
|
|
big_step_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f4f:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_left
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f53:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f55:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f57:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_right
|
|
|
|
turn_head_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MovementData_0x180f5b:
|
2013-02-17 06:54:07 +00:00
|
|
|
big_step_right
|
|
|
|
big_step_right
|
|
|
|
big_step_left
|
|
|
|
big_step_left
|
|
|
|
big_step_left
|
|
|
|
big_step_right
|
|
|
|
big_step_right
|
|
|
|
big_step_right
|
|
|
|
big_step_left
|
|
|
|
big_step_left
|
|
|
|
turn_head_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x180f67:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "LANCE: I've been"
|
|
|
|
line "waiting for you."
|
|
|
|
|
2015-06-28 04:59:17 +00:00
|
|
|
para "<PLAY_G>!"
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "I knew that you,"
|
|
|
|
line "with your skills,"
|
|
|
|
|
|
|
|
para "would eventually"
|
|
|
|
line "reach me here."
|
|
|
|
|
|
|
|
para "There's no need"
|
|
|
|
line "for words now."
|
|
|
|
|
|
|
|
para "We will battle to"
|
|
|
|
line "determine who is"
|
|
|
|
|
|
|
|
para "the stronger of"
|
|
|
|
line "the two of us."
|
|
|
|
|
|
|
|
para "As the most power-"
|
|
|
|
line "ful trainer and as"
|
|
|
|
|
|
|
|
para "the #MON LEAGUE"
|
|
|
|
line "CHAMPION…"
|
|
|
|
|
|
|
|
para "I, LANCE the drag-"
|
|
|
|
line "on master, accept"
|
|
|
|
cont "your challenge!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1810a4:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…It's over."
|
|
|
|
|
|
|
|
para "But it's an odd"
|
|
|
|
line "feeling."
|
|
|
|
|
|
|
|
para "I'm not angry that"
|
|
|
|
line "I lost. In fact, I"
|
|
|
|
cont "feel happy."
|
|
|
|
|
|
|
|
para "Happy that I"
|
|
|
|
line "witnessed the rise"
|
|
|
|
|
|
|
|
para "of a great new"
|
|
|
|
line "CHAMPION!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x181132:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…Whew."
|
|
|
|
|
|
|
|
para "You have become"
|
|
|
|
line "truly powerful,"
|
2015-06-28 04:59:17 +00:00
|
|
|
cont "<PLAY_G>."
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "Your #MON have"
|
|
|
|
line "responded to your"
|
|
|
|
|
|
|
|
para "strong and up-"
|
|
|
|
line "standing nature."
|
|
|
|
|
|
|
|
para "As a trainer, you"
|
|
|
|
line "will continue to"
|
|
|
|
|
|
|
|
para "grow strong with"
|
|
|
|
line "your #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1811dd:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MARY: Oh, no!"
|
|
|
|
line "It's all over!"
|
|
|
|
|
|
|
|
para "PROF.OAK, if you"
|
|
|
|
line "weren't so slow…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x18121b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "PROF.OAK: Ah,"
|
2015-06-28 04:59:17 +00:00
|
|
|
line "<PLAY_G>!"
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "It's been a long"
|
|
|
|
line "while."
|
|
|
|
|
|
|
|
para "You certainly look"
|
|
|
|
line "more impressive."
|
|
|
|
|
|
|
|
para "Your conquest of"
|
|
|
|
line "the LEAGUE is just"
|
|
|
|
cont "fantastic!"
|
|
|
|
|
|
|
|
para "Your dedication,"
|
|
|
|
line "trust and love for"
|
|
|
|
|
|
|
|
para "your #MON made"
|
|
|
|
line "this happen."
|
|
|
|
|
|
|
|
para "Your #MON were"
|
|
|
|
line "outstanding too."
|
|
|
|
|
|
|
|
para "Because they be-"
|
|
|
|
line "lieved in you as a"
|
|
|
|
|
|
|
|
para "trainer, they per-"
|
|
|
|
line "severed."
|
|
|
|
|
|
|
|
para "Congratulations,"
|
2015-06-28 04:59:17 +00:00
|
|
|
line "<PLAY_G>!"
|
2014-03-06 05:29:44 +00:00
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x18134b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MARY: Let's inter-"
|
|
|
|
line "view the brand new"
|
|
|
|
cont "CHAMPION!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x18137b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "LANCE: This is"
|
|
|
|
line "getting to be a"
|
|
|
|
cont "bit too noisy…"
|
|
|
|
|
2015-06-28 04:59:17 +00:00
|
|
|
para "<PLAY_G>, could you"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "come with me?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x1813c5:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MARY: Oh, wait!"
|
|
|
|
line "We haven't done"
|
|
|
|
cont "the interview!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
LancesRoom_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 4
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $17, $4, 3, KARENS_ROOM
|
|
|
|
warp_def $17, $5, 4, KARENS_ROOM
|
|
|
|
warp_def $1, $4, 1, HALL_OF_FAME
|
|
|
|
warp_def $1, $5, 2, HALL_OF_FAME
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
|
|
|
xy_trigger 1, $5, $4, $0, UnknownScript_0x180e6a, $0, $0
|
|
|
|
xy_trigger 1, $5, $5, $0, UnknownScript_0x180e74, $0, $0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
2015-11-15 20:07:20 +00:00
|
|
|
person_event SPRITE_LANCE, 3, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, LanceScript_0x180e7b, -1
|
|
|
|
person_event SPRITE_TEACHER, 7, 4, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_LANCES_ROOM_OAK_AND_MARY
|
|
|
|
person_event SPRITE_OAK, 7, 4, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_LANCES_ROOM_OAK_AND_MARY
|