2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const PEWTERGYM_BROCK
|
|
|
|
const PEWTERGYM_YOUNGSTER
|
|
|
|
const PEWTERGYM_GYM_GUY
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
PewterGym_MapScripts:
|
2017-12-24 18:46:34 +00:00
|
|
|
.SceneScripts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BrockScript_0x1a2864:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-07-10 07:00:27 +00:00
|
|
|
checkflag ENGINE_BOULDERBADGE
|
|
|
|
iftrue .FightDone
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a28d0
|
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_0x1a29bb, 0
|
2018-01-09 23:45:25 +00:00
|
|
|
loadtrainer BROCK, BROCK1
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
reloadmapafterbattle
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_BEAT_BROCK
|
|
|
|
setevent EVENT_BEAT_CAMPER_JERRY
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a2a3d
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_GET_BADGE
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-07-10 07:00:27 +00:00
|
|
|
setflag ENGINE_BOULDERBADGE
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a2a57
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.FightDone:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a2ada
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerCamperJerry:
|
2017-12-18 01:45:04 +00:00
|
|
|
trainer EVENT_BEAT_CAMPER_JERRY, CAMPER, JERRY, CamperJerrySeenText, CamperJerryBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-10 20:36:58 +00:00
|
|
|
writetext CamperJerryAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
PewterGymGuyScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_BEAT_BROCK
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue .PewterGymGuyWinScript
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext PewterGymGuyText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.PewterGymGuyWinScript:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext PewterGymGuyWinText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 03:51:36 +00:00
|
|
|
PewterGymStatue:
|
|
|
|
checkflag ENGINE_BOULDERBADGE
|
|
|
|
iftrue .Beaten
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue1
|
2016-04-10 18:42:14 +00:00
|
|
|
.Beaten:
|
2018-01-12 06:40:20 +00:00
|
|
|
trainertotext BROCK, BROCK1, MEM_BUFFER_1
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x1a28d0:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x1a29bb:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x1a2a3d:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "BOULDERBADGE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x1a2a57:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "BROCK: <PLAY_G>,"
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
UnknownText_0x1a2ada:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
CamperJerrySeenText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
CamperJerryBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I have to win"
|
|
|
|
line "these battles…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
CamperJerryAfterBattleText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
PewterGymGuyText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
PewterGymGuyWinText:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
PewterGym_MapEvents:
|
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 2
|
2017-12-28 19:31:25 +00:00
|
|
|
warp_def 4, 13, 2, PEWTER_CITY
|
|
|
|
warp_def 5, 13, 2, PEWTER_CITY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.CoordEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.BGEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 2, 11, BGEVENT_READ, PewterGymStatue
|
|
|
|
bg_event 7, 11, BGEVENT_READ, PewterGymStatue
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.ObjectEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 3
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 5, 1, SPRITE_BROCK, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, BrockScript_0x1a2864, -1
|
|
|
|
object_event 2, 5, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_TRAINER, 3, TrainerCamperJerry, -1
|
|
|
|
object_event 6, 11, SPRITE_GYM_GUY, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 1, PewterGymGuyScript, -1
|