2015-07-10 00:00:27 -07:00
|
|
|
PewterGym_MapScriptHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
BrockScript_0x1a2864:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-10 00:00:27 -07:00
|
|
|
checkflag ENGINE_BOULDERBADGE
|
|
|
|
iftrue .FightDone
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a28d0
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
winlosstext UnknownText_0x1a29bb, $0000
|
|
|
|
loadtrainer BROCK, 1
|
|
|
|
startbattle
|
|
|
|
returnafterbattle
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_BEAT_BROCK
|
|
|
|
setevent EVENT_BEAT_CAMPER_JERRY
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a2a3d
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_GET_BADGE
|
2013-02-16 22:54:07 -08:00
|
|
|
waitbutton
|
2015-07-10 00:00:27 -07:00
|
|
|
setflag ENGINE_BOULDERBADGE
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a2a57
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
.FightDone
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a2ada
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
TrainerCamperJerry:
|
2013-02-16 22:54:07 -08:00
|
|
|
; bit/flag number
|
2015-07-10 01:20:21 -07:00
|
|
|
dw EVENT_BEAT_CAMPER_JERRY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db CAMPER, JERRY
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw CamperJerrySeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw CamperJerryBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw CamperJerryScript
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
CamperJerryScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a2c0f
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PewterGymGuyScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_BEAT_BROCK
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue .PewterGymGuyWinScript
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext PewterGymGuyText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
|
|
|
.PewterGymGuyWinScript
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext PewterGymGuyWinText
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-24 20:51:36 -07:00
|
|
|
PewterGymStatue:
|
|
|
|
checkflag ENGINE_BOULDERBADGE
|
|
|
|
iftrue .Beaten
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd gymstatue1
|
2015-06-24 20:51:36 -07:00
|
|
|
.Beaten
|
2013-02-16 22:54:07 -08:00
|
|
|
trainertotext BROCK, 1, $1
|
2015-06-24 18:26:24 -07:00
|
|
|
jumpstd gymstatue2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1a28d0:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BROCK: Wow, it's"
|
|
|
|
line "not often that we"
|
|
|
|
|
|
|
|
para "get a challenger"
|
|
|
|
line "from JOHTO."
|
|
|
|
|
|
|
|
para "I'm BROCK, the"
|
|
|
|
line "PEWTER GYM LEADER."
|
|
|
|
|
|
|
|
para "I'm an expert on"
|
|
|
|
line "rock-type #MON."
|
|
|
|
|
|
|
|
para "My #MON are im-"
|
|
|
|
line "pervious to most"
|
|
|
|
|
|
|
|
para "physical attacks."
|
|
|
|
line "You'll have a hard"
|
|
|
|
|
|
|
|
para "time inflicting"
|
|
|
|
line "any damage."
|
|
|
|
|
|
|
|
para "Come on!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1a29bb:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BROCK: Your #-"
|
|
|
|
line "MON's powerful at-"
|
|
|
|
cont "tacks overcame my"
|
|
|
|
cont "rock-hard defense…"
|
|
|
|
|
|
|
|
para "You're stronger"
|
|
|
|
line "than I expected…"
|
|
|
|
|
|
|
|
para "Go ahead--take"
|
|
|
|
line "this BADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1a2a3d:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "BOULDERBADGE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1a2a57:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "BROCK: <PLAY_G>,"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "thanks. I enjoyed"
|
|
|
|
|
|
|
|
para "battling you, even"
|
|
|
|
line "though I am a bit"
|
|
|
|
cont "upset."
|
|
|
|
|
|
|
|
para "That BOULDERBADGE"
|
|
|
|
line "will make your"
|
|
|
|
|
|
|
|
para "#MON even more"
|
|
|
|
line "powerful."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1a2ada:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BROCK: The world"
|
|
|
|
line "is huge. There are"
|
|
|
|
|
|
|
|
para "still many strong"
|
|
|
|
line "trainers like you."
|
|
|
|
|
|
|
|
para "Just wait and see."
|
|
|
|
line "I'm going to be-"
|
|
|
|
cont "come a lot strong-"
|
|
|
|
cont "er too."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
CamperJerrySeenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The trainers of"
|
|
|
|
line "this GYM use rock-"
|
|
|
|
cont "type #MON."
|
|
|
|
|
|
|
|
para "The rock-type has"
|
|
|
|
line "high DEFENSE."
|
|
|
|
|
|
|
|
para "Battles could end"
|
|
|
|
line "up going a long"
|
|
|
|
|
|
|
|
para "time. Are you"
|
|
|
|
line "ready for this?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
CamperJerryBeatenText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I have to win"
|
|
|
|
line "these battles…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
UnknownText_0x1a2c0f:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey, you! Trainer"
|
|
|
|
line "from JOHTO! BROCK"
|
|
|
|
|
|
|
|
para "is tough. He'll"
|
|
|
|
line "punish you if you"
|
|
|
|
|
|
|
|
para "don't take him"
|
|
|
|
line "seriously."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PewterGymGuyText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Yo! CHAMP in"
|
|
|
|
line "making! You're"
|
|
|
|
|
|
|
|
para "really rocking."
|
|
|
|
line "Are you battling"
|
|
|
|
|
|
|
|
para "the GYM LEADERS of"
|
|
|
|
line "KANTO?"
|
|
|
|
|
|
|
|
para "They're strong and"
|
|
|
|
line "dedicated people,"
|
|
|
|
|
|
|
|
para "just like JOHTO's"
|
|
|
|
line "GYM LEADERS."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PewterGymGuyWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Yo! CHAMP in"
|
|
|
|
line "making! That GYM"
|
|
|
|
|
|
|
|
para "didn't give you"
|
|
|
|
line "much trouble."
|
|
|
|
|
|
|
|
para "The way you took"
|
|
|
|
line "charge was really"
|
|
|
|
|
|
|
|
para "inspiring. I mean"
|
|
|
|
line "that seriously."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 00:00:27 -07:00
|
|
|
PewterGym_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $d, $4, 2, GROUP_PEWTER_CITY, MAP_PEWTER_CITY
|
|
|
|
warp_def $d, $5, 2, GROUP_PEWTER_CITY, MAP_PEWTER_CITY
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 2
|
2015-06-24 20:51:36 -07:00
|
|
|
signpost 11, 2, $0, PewterGymStatue
|
|
|
|
signpost 11, 7, $0, PewterGymStatue
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 3
|
2013-07-12 14:06:11 -07:00
|
|
|
person_event SPRITE_BROCK, 5, 9, $6, $0, 255, 255, $b0, 0, BrockScript_0x1a2864, $ffff
|
|
|
|
person_event SPRITE_YOUNGSTER, 9, 6, $9, $0, 255, 255, $a2, 3, TrainerCamperJerry, $ffff
|
|
|
|
person_event SPRITE_GYM_GUY, 15, 10, $6, $0, 255, 255, $90, 1, PewterGymGuyScript, $ffff
|