pokecrystal-board/maps/PewterGym.asm

233 lines
4.1 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const PEWTERGYM_BROCK
const PEWTERGYM_YOUNGSTER
const PEWTERGYM_GYM_GUY
2015-07-10 00:00:27 -07:00
PewterGym_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 00:00:27 -07:00
BrockScript_0x1a2864:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-07-10 00:00:27 -07:00
checkflag ENGINE_BOULDERBADGE
iftrue .FightDone
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a28d0
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-02 11:37:02 -08:00
winlosstext UnknownText_0x1a29bb, 0
loadtrainer BROCK, 1
startbattle
reloadmapafterbattle
2013-09-24 00:48:58 -07:00
setevent EVENT_BEAT_BROCK
setevent EVENT_BEAT_CAMPER_JERRY
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a2a3d
playsound SFX_GET_BADGE
2015-11-25 07:16:29 -08:00
waitsfx
2015-07-10 00:00:27 -07:00
setflag ENGINE_BOULDERBADGE
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a2a57
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.FightDone:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1a2ada
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 00:00:27 -07:00
TrainerCamperJerry:
2015-11-02 11:37:02 -08:00
trainer EVENT_BEAT_CAMPER_JERRY, CAMPER, JERRY, CamperJerrySeenText, CamperJerryBeatenText, 0, CamperJerryScript
2015-07-10 00:00:27 -07:00
CamperJerryScript:
2015-11-25 07:16:29 -08:00
end_if_just_battled
2015-12-09 15:25:44 -08:00
opentext
2017-12-10 12:36:58 -08:00
writetext CamperJerryAfterBattleText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 00:00:27 -07:00
PewterGymGuyScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_BEAT_BROCK
iftrue .PewterGymGuyWinScript
2015-01-20 00:01:23 -08:00
writetext PewterGymGuyText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.PewterGymGuyWinScript:
2015-01-20 00:01:23 -08:00
writetext PewterGymGuyWinText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
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
.Beaten:
trainertotext BROCK, 1, $1
2015-06-24 18:26:24 -07:00
jumpstd gymstatue2
2015-07-10 00:00:27 -07:00
UnknownText_0x1a28d0:
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
2015-07-10 00:00:27 -07:00
UnknownText_0x1a29bb:
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
2015-07-10 00:00:27 -07:00
UnknownText_0x1a2a3d:
text "<PLAYER> received"
line "BOULDERBADGE."
done
2015-07-10 00:00:27 -07:00
UnknownText_0x1a2a57:
text "BROCK: <PLAY_G>,"
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
2015-07-10 00:00:27 -07:00
UnknownText_0x1a2ada:
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
2015-07-10 00:00:27 -07:00
CamperJerrySeenText:
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
2015-07-10 00:00:27 -07:00
CamperJerryBeatenText:
text "I have to win"
line "these battles…"
done
2017-12-10 12:36:58 -08:00
CamperJerryAfterBattleText:
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
2015-07-10 00:00:27 -07:00
PewterGymGuyText:
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
2015-07-10 00:00:27 -07:00
PewterGymGuyWinText:
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
2015-07-10 00:00:27 -07:00
PewterGym_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $d, $4, 2, PEWTER_CITY
warp_def $d, $5, 2, PEWTER_CITY
.XYTriggers:
db 0
.Signposts:
db 2
signpost 11, 2, SIGNPOST_READ, PewterGymStatue
signpost 11, 7, SIGNPOST_READ, PewterGymStatue
.PersonEvents:
db 3
2017-12-10 17:50:08 -08:00
person_event SPRITE_BROCK, 1, 5, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, PERSONTYPE_SCRIPT, 0, BrockScript_0x1a2864, -1
person_event SPRITE_YOUNGSTER, 5, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_GREEN, PERSONTYPE_TRAINER, 3, TrainerCamperJerry, -1
person_event SPRITE_GYM_GUY, 11, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, PERSONTYPE_SCRIPT, 1, PewterGymGuyScript, -1