pokecrystal/maps/VermilionGym.asm

343 lines
6.8 KiB
NASM
Raw Normal View History

2015-07-10 07:00:27 +00:00
VermilionGym_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
2015-07-10 07:00:27 +00:00
SurgeScript_0x1920a5:
faceplayer
loadfont
2015-07-10 07:00:27 +00:00
checkflag ENGINE_THUNDERBADGE
iftrue .FightDone
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x192142
closetext
loadmovesprites
winlosstext UnknownText_0x192238, $0000
loadtrainer LT_SURGE, 1
startbattle
returnafterbattle
2013-09-24 07:48:58 +00:00
setevent EVENT_BEAT_LTSURGE
setevent EVENT_BEAT_GENTLEMAN_GREGORY
setevent EVENT_BEAT_GUITARIST_VINCENT
setevent EVENT_BEAT_JUGGLER_HORTON
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x192277
playsound SFX_GET_BADGE
waitbutton
2015-07-10 07:00:27 +00:00
setflag ENGINE_THUNDERBADGE
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x192291
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
.FightDone
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x192303
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
TrainerGentlemanGregory:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_GENTLEMAN_GREGORY
; trainer group && trainer id
db GENTLEMAN, GREGORY
; text when seen
dw GentlemanGregorySeenText
; text when trainer beaten
dw GentlemanGregoryBeatenText
; script when lost
dw $0000
; script when talk again
dw GentlemanGregoryScript
2015-07-10 07:00:27 +00:00
GentlemanGregoryScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1923b0
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
TrainerGuitaristVincent:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_GUITARIST_VINCENT
; trainer group && trainer id
db GUITARIST, VINCENT
; text when seen
dw GuitaristVincentSeenText
; text when trainer beaten
dw GuitaristVincentBeatenText
; script when lost
dw $0000
; script when talk again
dw GuitaristVincentScript
2015-07-10 07:00:27 +00:00
GuitaristVincentScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19244b
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
TrainerJugglerHorton:
; bit/flag number
2015-07-10 08:20:21 +00:00
dw EVENT_BEAT_JUGGLER_HORTON
; trainer group && trainer id
db JUGGLER, HORTON
; text when seen
dw JugglerHortonSeenText
; text when trainer beaten
dw JugglerHortonBeatenText
; script when lost
dw $0000
; script when talk again
dw JugglerHortonScript
2015-07-10 07:00:27 +00:00
JugglerHortonScript:
talkaftercancel
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1924d6
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
VermilionGymGuyScript:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_BEAT_LTSURGE
iftrue .VermilionGymGuyWinScript
2015-01-20 08:01:23 +00:00
writetext VermilionGymGuyText
closetext
loadmovesprites
end
.VermilionGymGuyWinScript
2015-01-20 08:01:23 +00:00
writetext VermilionGymGuyWinText
closetext
loadmovesprites
end
2015-07-10 07:00:27 +00:00
MapVermilionGymSignpost14Script:
jumptext UnknownText_0x19261e
2015-06-25 03:51:36 +00:00
VermilionGymStatue:
checkflag ENGINE_THUNDERBADGE
iftrue .Beaten
2015-06-25 01:26:24 +00:00
jumpstd gymstatue1
2015-06-25 03:51:36 +00:00
.Beaten
trainertotext LT_SURGE, 1, $1
2015-06-25 01:26:24 +00:00
jumpstd gymstatue2
2015-07-10 07:00:27 +00:00
UnknownText_0x192142:
text "SURGE: Hey, you"
line "little tyke!"
para "I have to hand it"
line "to you. It may not"
para "be very smart to"
line "challenge me, but"
cont "it takes guts!"
para "When it comes to"
line "electric #MON,"
cont "I'm number one!"
para "I've never lost on"
line "the battlefield."
para "I'll zap you just"
line "like I did my"
cont "enemies in war!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x192238:
text "SURGE: Arrrgh!"
line "You are strong!"
para "OK, kid. You get"
line "THUNDERBADGE!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x192277:
text "<PLAYER> received"
line "THUNDERBADGE."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x192291:
text "SURGE: THUNDER-"
line "BADGE increases"
cont "#MON's speed. "
para "Consider it proof"
line "that you defeated"
para "me. You wear it"
line "proudly, hear?"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x192303:
text "SURGE: Hey, kid!"
line "Still slugging and"
cont "chugging away?"
para "My #MON and I"
line "are still at it!"
done
2015-07-10 07:00:27 +00:00
GentlemanGregorySeenText:
text "You're here to"
line "defeat LT.SURGE?"
para "Not if I can help"
line "it!"
done
2015-07-10 07:00:27 +00:00
GentlemanGregoryBeatenText:
text "Sorry I failed"
line "you, LT.SURGE,"
cont "sir!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x1923b0:
text "When I was still"
line "in the army, LT."
para "SURGE saved my"
line "life."
done
2015-07-10 07:00:27 +00:00
GuitaristVincentSeenText:
text "LT.SURGE recog-"
line "nized my potential"
para "with electric"
line "#MON."
para "Think you can beat"
line "me?"
done
2015-07-10 07:00:27 +00:00
GuitaristVincentBeatenText:
text "Ooh, how shocking!"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x19244b:
text "If the GYM's traps"
line "were working, you"
para "would have been"
line "toast…"
done
2015-07-10 07:00:27 +00:00
JugglerHortonSeenText:
text "I'm going to take"
line "you down! Prepare"
cont "to be shocked!"
done
2015-07-10 07:00:27 +00:00
JugglerHortonBeatenText:
text "Gwaaah!"
line "I was overpowered…"
done
2015-07-10 07:00:27 +00:00
UnknownText_0x1924d6:
text "Don't get too com-"
line "fortable about"
para "beating me…"
line "LT.SURGE is tough."
done
2015-07-10 07:00:27 +00:00
VermilionGymGuyText:
text "Yo! CHAMP in"
line "making!"
para "You lucked out"
line "this time."
para "LT.SURGE is very"
line "cautious. He has"
para "traps set all over"
line "the GYM."
para "But--he-heh--the"
line "traps aren't"
cont "active right now."
para "You'll have no"
line "problem getting to"
cont "LT.SURGE."
done
2015-07-10 07:00:27 +00:00
VermilionGymGuyWinText:
text "Whew! That was an"
line "electrifying bout!"
para "It sure made me"
line "nervous."
done
2015-07-10 07:00:27 +00:00
UnknownText_0x19261e:
text "Nope! Nothing here"
line "but trash."
done
2015-07-10 07:00:27 +00:00
VermilionGym_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $11, $4, 7, GROUP_VERMILION_CITY, MAP_VERMILION_CITY
warp_def $11, $5, 7, GROUP_VERMILION_CITY, MAP_VERMILION_CITY
; xy triggers
db 0
; signposts
db 17
signpost 7, 1, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 7, 3, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 7, 5, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 7, 7, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 7, 9, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 9, 1, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 9, 3, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 9, 5, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 9, 7, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 9, 9, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 11, 1, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 11, 3, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 11, 5, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 11, 7, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 11, 9, SIGNPOST_READ, MapVermilionGymSignpost14Script
signpost 15, 3, SIGNPOST_READ, VermilionGymStatue
signpost 15, 6, SIGNPOST_READ, VermilionGymStatue
; people-events
db 5
person_event SPRITE_SURGE, 6, 9, UP << 2 | $2, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, SurgeScript_0x1920a5, -1
person_event SPRITE_GENTLEMAN, 12, 12, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 4, TrainerGentlemanGregory, -1
person_event SPRITE_ROCKER, 11, 8, UP << 2 | $2, $3, -1, -1, (PAL_OW_RED << 4) | $82, 3, TrainerGuitaristVincent, -1
person_event SPRITE_SUPER_NERD, 14, 4, LEFT << 2 | $1, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 4, TrainerJugglerHorton, -1
person_event SPRITE_GYM_GUY, 19, 11, UP << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 1, VermilionGymGuyScript, -1