2013-02-16 22:54:07 -08:00
|
|
|
LancesRoom_MapScriptHeader: ; 0x180e2c
|
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x180e39, $0000
|
|
|
|
dw UnknownScript_0x180e3d, $0000
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 1, UnknownScript_0x180e3e
|
|
|
|
; 0x180e39
|
|
|
|
|
|
|
|
UnknownScript_0x180e39: ; 0x180e39
|
|
|
|
priorityjump UnknownScript_0x180e53
|
|
|
|
end
|
|
|
|
; 0x180e3d
|
|
|
|
|
|
|
|
UnknownScript_0x180e3d: ; 0x180e3d
|
|
|
|
end
|
|
|
|
; 0x180e3e
|
|
|
|
|
|
|
|
UnknownScript_0x180e3e: ; 0x180e3e
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x180e48
|
|
|
|
changeblock $4, $16, $34
|
|
|
|
UnknownScript_0x180e48: ; 0x180e48
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent $0312
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x180e52
|
|
|
|
changeblock $4, $0, $b
|
|
|
|
UnknownScript_0x180e52: ; 0x180e52
|
|
|
|
return
|
|
|
|
; 0x180e53
|
|
|
|
|
|
|
|
UnknownScript_0x180e53: ; 0x180e53
|
|
|
|
applymovement $0, MovementData_0x180f33
|
|
|
|
refreshscreen $86
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_STRENGTH
|
2013-02-16 22:54:07 -08:00
|
|
|
earthquake 80
|
|
|
|
changeblock $4, $16, $34
|
|
|
|
reloadmappart
|
|
|
|
loadmovesprites
|
|
|
|
dotrigger $1
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
; 0x180e6a
|
|
|
|
|
|
|
|
UnknownScript_0x180e6a: ; 0x180e6a
|
|
|
|
special $006a
|
|
|
|
applymovement $0, MovementData_0x180f38
|
2015-01-20 00:01:23 -08:00
|
|
|
jump LanceScript_0x180e7b
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x180e74
|
|
|
|
|
|
|
|
UnknownScript_0x180e74: ; 0x180e74
|
|
|
|
special $006a
|
|
|
|
applymovement $0, MovementData_0x180f3c
|
2014-04-30 02:40:22 -07:00
|
|
|
LanceScript_0x180e7b: ; 0x180e7b
|
2013-02-16 22:54:07 -08:00
|
|
|
spriteface $2, $2
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x180f67
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
winlosstext UnknownText_0x1810a4, $0000
|
|
|
|
setlasttalked $2
|
|
|
|
loadtrainer CHAMPION, LANCE
|
|
|
|
startbattle
|
|
|
|
reloadmapmusic
|
|
|
|
returnafterbattle
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_BEAT_CHAMPION_LANCE
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x181132
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2013-02-16 22:54:07 -08:00
|
|
|
changeblock $4, $0, $b
|
|
|
|
reloadmappart
|
|
|
|
loadmovesprites
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_LANCES_ROOM_ENTRANCE_CLOSED
|
2013-02-16 22:54:07 -08:00
|
|
|
musicfadeout $0038, $10
|
|
|
|
pause 30
|
|
|
|
showemote $0, $2, 15
|
|
|
|
spriteface $2, $0
|
|
|
|
pause 10
|
|
|
|
spriteface $0, $0
|
|
|
|
appear $3
|
|
|
|
applymovement $3, MovementData_0x180f41
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1811dd
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
appear $4
|
|
|
|
applymovement $4, MovementData_0x180f46
|
|
|
|
follow $3, $4
|
|
|
|
applymovement $3, MovementData_0x180f49
|
|
|
|
stopfollow
|
|
|
|
spriteface $4, $1
|
|
|
|
spriteface $2, $2
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x18121b
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $3, MovementData_0x180f4c
|
|
|
|
spriteface $0, $2
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x18134b
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $2, MovementData_0x180f4f
|
|
|
|
spriteface $0, $1
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x18137b
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
follow $2, $0
|
|
|
|
spriteface $3, $1
|
|
|
|
spriteface $4, $1
|
|
|
|
applymovement $2, MovementData_0x180f53
|
|
|
|
stopfollow
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2013-02-16 22:54:07 -08:00
|
|
|
disappear $2
|
|
|
|
applymovement $0, MovementData_0x180f55
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2013-02-16 22:54:07 -08:00
|
|
|
disappear $0
|
|
|
|
applymovement $3, MovementData_0x180f57
|
|
|
|
showemote $0, $3, 15
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1813c5
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 30
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $3, MovementData_0x180f5b
|
|
|
|
special $002e
|
|
|
|
pause 15
|
|
|
|
warpfacing $1, GROUP_HALL_OF_FAME, MAP_HALL_OF_FAME, $4, $d
|
|
|
|
end
|
|
|
|
; 0x180f33
|
|
|
|
|
|
|
|
MovementData_0x180f33: ; 0x180f33
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
; 0x180f38
|
|
|
|
|
|
|
|
MovementData_0x180f38: ; 0x180f38
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
; 0x180f3c
|
|
|
|
|
|
|
|
MovementData_0x180f3c: ; 0x180f3c
|
|
|
|
step_up
|
|
|
|
step_left
|
|
|
|
step_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
; 0x180f41
|
|
|
|
|
|
|
|
MovementData_0x180f41: ; 0x180f41
|
|
|
|
big_step_up
|
|
|
|
big_step_up
|
|
|
|
big_step_up
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
; 0x180f46
|
|
|
|
|
|
|
|
MovementData_0x180f46: ; 0x180f46
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
; 0x180f49
|
|
|
|
|
|
|
|
MovementData_0x180f49: ; 0x180f49
|
|
|
|
step_left
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
; 0x180f4c
|
|
|
|
|
|
|
|
MovementData_0x180f4c: ; 0x180f4c
|
|
|
|
big_step_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
; 0x180f4f
|
|
|
|
|
|
|
|
MovementData_0x180f4f: ; 0x180f4f
|
|
|
|
step_up
|
|
|
|
step_left
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
; 0x180f53
|
|
|
|
|
|
|
|
MovementData_0x180f53: ; 0x180f53
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
; 0x180f55
|
|
|
|
|
|
|
|
MovementData_0x180f55: ; 0x180f55
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
; 0x180f57
|
|
|
|
|
|
|
|
MovementData_0x180f57: ; 0x180f57
|
|
|
|
step_up
|
|
|
|
step_right
|
|
|
|
turn_head_up
|
|
|
|
step_end
|
|
|
|
; 0x180f5b
|
|
|
|
|
|
|
|
MovementData_0x180f5b: ; 0x180f5b
|
|
|
|
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
|
|
|
|
; 0x180f67
|
|
|
|
|
|
|
|
UnknownText_0x180f67: ; 0x180f67
|
2014-03-05 21:29:44 -08:00
|
|
|
text "LANCE: I've been"
|
|
|
|
line "waiting for you."
|
|
|
|
|
|
|
|
para $14, "!"
|
|
|
|
|
|
|
|
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-16 22:54:07 -08:00
|
|
|
; 0x1810a4
|
|
|
|
|
|
|
|
UnknownText_0x1810a4: ; 0x1810a4
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
; 0x181132
|
|
|
|
|
|
|
|
UnknownText_0x181132: ; 0x181132
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…Whew."
|
|
|
|
|
|
|
|
para "You have become"
|
|
|
|
line "truly powerful,"
|
|
|
|
cont $14, "."
|
|
|
|
|
|
|
|
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-16 22:54:07 -08:00
|
|
|
; 0x1811dd
|
|
|
|
|
|
|
|
UnknownText_0x1811dd: ; 0x1811dd
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MARY: Oh, no!"
|
|
|
|
line "It's all over!"
|
|
|
|
|
|
|
|
para "PROF.OAK, if you"
|
|
|
|
line "weren't so slow…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x18121b
|
|
|
|
|
|
|
|
UnknownText_0x18121b: ; 0x18121b
|
2014-03-05 21:29:44 -08:00
|
|
|
text "PROF.OAK: Ah,"
|
|
|
|
line $14, "!"
|
|
|
|
|
|
|
|
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,"
|
|
|
|
line $14, "!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x18134b
|
|
|
|
|
|
|
|
UnknownText_0x18134b: ; 0x18134b
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MARY: Let's inter-"
|
|
|
|
line "view the brand new"
|
|
|
|
cont "CHAMPION!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x18137b
|
|
|
|
|
|
|
|
UnknownText_0x18137b: ; 0x18137b
|
2014-03-05 21:29:44 -08:00
|
|
|
text "LANCE: This is"
|
|
|
|
line "getting to be a"
|
|
|
|
cont "bit too noisy…"
|
|
|
|
|
|
|
|
para $14, ", could you"
|
|
|
|
line "come with me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1813c5
|
|
|
|
|
|
|
|
UnknownText_0x1813c5: ; 0x1813c5
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MARY: Oh, wait!"
|
|
|
|
line "We haven't done"
|
|
|
|
cont "the interview!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x1813f4
|
|
|
|
|
|
|
|
LancesRoom_MapEventHeader: ; 0x1813f4
|
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 4
|
|
|
|
warp_def $17, $4, 3, GROUP_KARENS_ROOM, MAP_KARENS_ROOM
|
|
|
|
warp_def $17, $5, 4, GROUP_KARENS_ROOM, MAP_KARENS_ROOM
|
|
|
|
warp_def $1, $4, 1, GROUP_HALL_OF_FAME, MAP_HALL_OF_FAME
|
|
|
|
warp_def $1, $5, 2, GROUP_HALL_OF_FAME, MAP_HALL_OF_FAME
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 2
|
|
|
|
xy_trigger 1, $5, $4, $0, UnknownScript_0x180e6a, $0, $0
|
|
|
|
xy_trigger 1, $5, $5, $0, UnknownScript_0x180e74, $0, $0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 3
|
2014-04-30 02:40:22 -07:00
|
|
|
person_event SPRITE_LANCE, 7, 9, $6, $0, 255, 255, $0, 0, LanceScript_0x180e7b, $ffff
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_TEACHER, 11, 8, $7, $0, 255, 255, $a0, 0, ObjectEvent, $075f
|
|
|
|
person_event SPRITE_OAK, 11, 8, $7, $0, 255, 255, $0, 0, ObjectEvent, $075f
|
2013-02-16 22:54:07 -08:00
|
|
|
; 0x181445
|
|
|
|
|