2013-02-17 06:54:07 +00:00
|
|
|
ViridianGym_MapScriptHeader: ; 0x9aa24
|
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
; 0x9aa26
|
|
|
|
|
2013-07-12 21:06:11 +00:00
|
|
|
BlueScript_0x9aa26: ; 0x9aa26
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:51:42 +00:00
|
|
|
checkflag $002a
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x9aa51
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9aa7b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
winlosstext UnknownText_0x9abae, $0000
|
|
|
|
loadtrainer BLUE, 1
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_BEAT_BLUE
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9ac0f
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_GET_BADGE
|
2013-02-17 06:54:07 +00:00
|
|
|
waitbutton
|
2013-09-24 07:51:42 +00:00
|
|
|
setflag $002a
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9ac27
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x9aa51
|
|
|
|
|
|
|
|
UnknownScript_0x9aa51: ; 0x9aa51
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x9acab
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x9aa57
|
|
|
|
|
|
|
|
ViridianGymGuyScript: ; 0x9aa57
|
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_BEAT_BLUE
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue .ViridianGymGuyWinScript
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext ViridianGymGuyText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
|
|
|
.ViridianGymGuyWinScript
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext ViridianGymGuyWinText
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
; 0x9aa6b
|
|
|
|
|
|
|
|
MapViridianGymSignpost1Script: ; 0x9aa6b
|
2013-09-24 07:51:42 +00:00
|
|
|
checkflag $002a
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x9aa74
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue1
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9aa74
|
|
|
|
|
|
|
|
UnknownScript_0x9aa74: ; 0x9aa74
|
|
|
|
trainertotext BLUE, 1, $1
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue2
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9aa7b
|
|
|
|
|
|
|
|
UnknownText_0x9aa7b: ; 0x9aa7b
|
2014-03-06 05:29:44 +00:00
|
|
|
text "BLUE: Yo! Finally"
|
|
|
|
line "got here, huh?"
|
|
|
|
|
|
|
|
para "I wasn't in the"
|
|
|
|
line "mood at CINNABAR,"
|
|
|
|
|
|
|
|
para "but now I'm ready"
|
|
|
|
line "to battle you."
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "You're telling me"
|
|
|
|
line "you conquered all"
|
|
|
|
cont "the GYMS in JOHTO?"
|
|
|
|
|
|
|
|
para "Heh! JOHTO's GYMS"
|
|
|
|
line "must be pretty"
|
|
|
|
cont "pathetic then."
|
|
|
|
|
|
|
|
para "Hey, don't worry"
|
|
|
|
line "about it."
|
|
|
|
|
|
|
|
para "I'll know if you"
|
|
|
|
line "are good or not by"
|
|
|
|
|
|
|
|
para "battling you right"
|
|
|
|
line "now."
|
|
|
|
|
|
|
|
para "Ready, JOHTO"
|
|
|
|
line "CHAMP?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9abae
|
|
|
|
|
|
|
|
UnknownText_0x9abae: ; 0x9abae
|
2014-03-06 05:29:44 +00:00
|
|
|
text "BLUE: What?"
|
|
|
|
|
|
|
|
para "How the heck did I"
|
|
|
|
line "lose to you?"
|
|
|
|
|
|
|
|
para "…"
|
|
|
|
|
|
|
|
para "Tch, all right…"
|
|
|
|
line "Here, take this--"
|
|
|
|
cont "it's EARTHBADGE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9ac0f
|
|
|
|
|
|
|
|
UnknownText_0x9ac0f: ; 0x9ac0f
|
2014-03-06 05:29:44 +00:00
|
|
|
text $52, " received"
|
|
|
|
line "EARTHBADGE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9ac27
|
|
|
|
|
|
|
|
UnknownText_0x9ac27: ; 0x9ac27
|
2014-03-06 05:29:44 +00:00
|
|
|
text "BLUE: …"
|
|
|
|
|
|
|
|
para "All right, I was"
|
|
|
|
line "wrong. You're the"
|
|
|
|
|
|
|
|
para "real deal. You are"
|
|
|
|
line "a good trainer."
|
|
|
|
|
|
|
|
para "But I'm going to"
|
|
|
|
line "beat you someday."
|
|
|
|
|
|
|
|
para "Don't you forget"
|
|
|
|
line "it!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9acab
|
|
|
|
|
|
|
|
UnknownText_0x9acab: ; 0x9acab
|
2014-03-06 05:29:44 +00:00
|
|
|
text "BLUE: Listen, you."
|
|
|
|
|
|
|
|
para "You'd better not"
|
|
|
|
line "lose until I beat"
|
|
|
|
cont "you. Got it?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9acee
|
|
|
|
|
|
|
|
ViridianGymGuyText: ; 0x9acee
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Yo, CHAMP in"
|
|
|
|
line "making!"
|
|
|
|
|
|
|
|
para "How's it going?"
|
|
|
|
line "Looks like you're"
|
|
|
|
cont "on a roll."
|
|
|
|
|
|
|
|
para "The GYM LEADER is"
|
|
|
|
line "a guy who battled"
|
|
|
|
|
|
|
|
para "the CHAMPION three"
|
|
|
|
line "years ago."
|
|
|
|
|
|
|
|
para "He's no pushover."
|
|
|
|
|
|
|
|
para "Give it everything"
|
|
|
|
line "you've got!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9ada0
|
|
|
|
|
|
|
|
ViridianGymGuyWinText: ; 0x9ada0
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Man, you are truly"
|
|
|
|
line "tough…"
|
|
|
|
|
|
|
|
para "That was a heck of"
|
|
|
|
line "an inspirational"
|
|
|
|
|
|
|
|
para "battle. It brought"
|
|
|
|
line "tears to my eyes."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9ae04
|
|
|
|
|
|
|
|
ViridianGym_MapEventHeader: ; 0x9ae04
|
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $11, $4, 1, GROUP_VIRIDIAN_CITY, MAP_VIRIDIAN_CITY
|
|
|
|
warp_def $11, $5, 1, GROUP_VIRIDIAN_CITY, MAP_VIRIDIAN_CITY
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 2
|
|
|
|
signpost 13, 3, $0, MapViridianGymSignpost1Script
|
|
|
|
signpost 13, 6, $0, MapViridianGymSignpost1Script
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 2
|
2013-07-12 21:06:11 +00:00
|
|
|
person_event SPRITE_BLUE, 7, 9, $6, $0, 255, 255, $0, 0, BlueScript_0x9aa26, $0776
|
|
|
|
person_event SPRITE_GYM_GUY, 17, 11, $6, $0, 255, 255, $90, 0, ViridianGymGuyScript, $0776
|
2013-02-17 06:54:07 +00:00
|
|
|
; 0x9ae38
|