2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const CIANWOODGYM_CHUCK
|
|
|
|
const CIANWOODGYM_BLACK_BELT1
|
|
|
|
const CIANWOODGYM_BLACK_BELT2
|
|
|
|
const CIANWOODGYM_BLACK_BELT3
|
|
|
|
const CIANWOODGYM_BLACK_BELT4
|
|
|
|
const CIANWOODGYM_BOULDER1
|
|
|
|
const CIANWOODGYM_BOULDER2
|
|
|
|
const CIANWOODGYM_BOULDER3
|
|
|
|
const CIANWOODGYM_BOULDER4
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
CianwoodGym_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
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
|
|
|
ChuckScript_0x9d60f:
|
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_CHUCK
|
2015-07-10 07:00:27 +00:00
|
|
|
iftrue .FightDone
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext ChuckIntroText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface CIANWOODGYM_CHUCK, RIGHT
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext ChuckIntroText2
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2016-03-02 03:31:21 +00:00
|
|
|
applymovement CIANWOODGYM_BOULDER1, CianwoodGymMovement_ChuckChucksBoulder
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_STRENGTH
|
2013-02-17 06:54:07 +00:00
|
|
|
earthquake 80
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear CIANWOODGYM_BOULDER1
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 30
|
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext ChuckIntroText3
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2016-03-02 03:31:21 +00:00
|
|
|
winlosstext ChuckLossText, 0
|
2015-12-02 02:54:11 +00:00
|
|
|
loadtrainer CHUCK, 1
|
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_CHUCK
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext GetStormBadgeText
|
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_STORMBADGE
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_BADGES
|
2015-07-10 07:00:27 +00:00
|
|
|
scall CianwoodGymTriggerRockets
|
2016-04-10 18:42:14 +00:00
|
|
|
.FightDone:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM01_DYNAMICPUNCH
|
2016-03-02 03:31:21 +00:00
|
|
|
iftrue .AlreadyGotTM
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_BEAT_BLACKBELT_YOSHI
|
|
|
|
setevent EVENT_BEAT_BLACKBELT_LAO
|
|
|
|
setevent EVENT_BEAT_BLACKBELT_NOB
|
|
|
|
setevent EVENT_BEAT_BLACKBELT_LUNG
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext ChuckExplainBadgeText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem TM_DYNAMICPUNCH
|
2016-03-02 03:31:21 +00:00
|
|
|
iffalse .BagFull
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_TM01_DYNAMICPUNCH
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext ChuckExplainTMText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
.AlreadyGotTM:
|
|
|
|
writetext ChuckAfterText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2016-03-02 03:31:21 +00:00
|
|
|
.BagFull:
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
CianwoodGymTriggerRockets:
|
|
|
|
if_equal 7, .RadioTowerRockets
|
|
|
|
if_equal 6, .GoldenrodRockets
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.GoldenrodRockets:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd goldenrodrockets
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.RadioTowerRockets:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd radiotowerrockets
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
TrainerBlackbeltYoshi:
|
2016-03-02 03:31:21 +00:00
|
|
|
trainer EVENT_BEAT_BLACKBELT_YOSHI, BLACKBELT_T, YOSHI, BlackbeltYoshiSeenText, BlackbeltYoshiBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext BlackbeltYoshiAfterText
|
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
|
|
|
TrainerBlackbeltLao:
|
2016-03-02 03:31:21 +00:00
|
|
|
trainer EVENT_BEAT_BLACKBELT_LAO, BLACKBELT_T, LAO, BlackbeltLaoSeenText, BlackbeltLaoBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext BlackbeltLaoAfterText
|
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
|
|
|
TrainerBlackbeltNob:
|
2016-03-02 03:31:21 +00:00
|
|
|
trainer EVENT_BEAT_BLACKBELT_NOB, BLACKBELT_T, NOB, BlackbeltNobSeenText, BlackbeltNobBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext BlackbeltNobAfterText
|
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
|
|
|
TrainerBlackbeltLung:
|
2016-03-02 03:31:21 +00:00
|
|
|
trainer EVENT_BEAT_BLACKBELT_LUNG, BLACKBELT_T, LUNG, BlackbeltLungSeenText, BlackbeltLungBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
.Script:
|
2015-11-25 15:16:29 +00:00
|
|
|
end_if_just_battled
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2016-03-02 03:31:21 +00:00
|
|
|
writetext BlackbeltLungAfterText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CianwoodGymBoulder:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd strengthboulder
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-25 03:51:36 +00:00
|
|
|
CianwoodGymStatue:
|
|
|
|
checkflag ENGINE_STORMBADGE
|
|
|
|
iftrue .Beaten
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue1
|
2016-04-10 18:42:14 +00:00
|
|
|
.Beaten:
|
2013-02-17 06:54:07 +00:00
|
|
|
trainertotext CHUCK, 1, $1
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd gymstatue2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
CianwoodGymMovement_ChuckChucksBoulder:
|
|
|
|
set_sliding
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step LEFT
|
|
|
|
big_step UP
|
|
|
|
fast_jump_step RIGHT
|
2016-03-02 03:31:21 +00:00
|
|
|
remove_sliding
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
ChuckIntroText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "WAHAHAH!"
|
|
|
|
|
|
|
|
para "So you've come"
|
|
|
|
line "this far!"
|
|
|
|
|
|
|
|
para "Let me tell you,"
|
|
|
|
line "I'm tough!"
|
|
|
|
|
|
|
|
para "My #MON will"
|
|
|
|
line "crush stones and"
|
|
|
|
cont "shatter bones!"
|
|
|
|
|
|
|
|
para "Watch this!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
ChuckIntroText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "CHUCK: Urggh!"
|
|
|
|
line "…"
|
|
|
|
|
|
|
|
para "Oooarrgh!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
ChuckIntroText3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There! Scared now,"
|
|
|
|
line "are you?"
|
|
|
|
|
|
|
|
para "What?"
|
|
|
|
line "It has nothing to"
|
|
|
|
|
|
|
|
para "do with #MON?"
|
|
|
|
line "That's true!"
|
|
|
|
|
|
|
|
para "Come on. We shall"
|
|
|
|
line "do battle!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
ChuckLossText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Wha? Huh?"
|
|
|
|
line "I lost?"
|
|
|
|
|
|
|
|
para "How about that!"
|
|
|
|
line "You're worthy of"
|
|
|
|
cont "STORMBADGE!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
GetStormBadgeText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "STORMBADGE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
ChuckExplainBadgeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "STORMBADGE makes"
|
|
|
|
line "all #MON up to"
|
|
|
|
|
|
|
|
para "L70 obey, even"
|
|
|
|
line "traded ones."
|
|
|
|
|
|
|
|
para "It also lets your"
|
|
|
|
line "#MON use FLY"
|
|
|
|
|
|
|
|
para "when you're not in"
|
|
|
|
line "a battle."
|
|
|
|
|
|
|
|
para "Here, take this"
|
|
|
|
line "too!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
ChuckExplainTMText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "That is DYNAMIC-"
|
|
|
|
line "PUNCH."
|
|
|
|
|
|
|
|
para "It doesn't always"
|
|
|
|
line "hit, but when it"
|
|
|
|
|
|
|
|
para "does, it causes"
|
|
|
|
line "confusion!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
ChuckAfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "WAHAHAH! I enjoyed"
|
|
|
|
line "battling you!"
|
|
|
|
|
|
|
|
para "But a loss is a"
|
|
|
|
line "loss!"
|
|
|
|
|
|
|
|
para "From now on, I'm"
|
|
|
|
line "going to train 24"
|
|
|
|
cont "hours a day!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltYoshiSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My #MON and I"
|
|
|
|
line "are bound togeth-"
|
|
|
|
cont "er by friendship."
|
|
|
|
|
|
|
|
para "Our bond will"
|
|
|
|
line "never be broken!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltYoshiBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "This isn't real!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
BlackbeltYoshiAfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You seem to have a"
|
|
|
|
line "strong bond with"
|
|
|
|
cont "your #MON too!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltLaoSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We martial artists"
|
|
|
|
line "fear nothing!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltLaoBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "That's shocking!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
BlackbeltLaoAfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Fighting #MON"
|
|
|
|
line "are afraid of psy-"
|
|
|
|
cont "chics…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltNobSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Words are useless."
|
|
|
|
line "Let your fists do"
|
|
|
|
cont "the talking!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltNobBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
BlackbeltNobAfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I lost! "
|
|
|
|
line "I'm speechless!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltLungSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My raging fists"
|
|
|
|
line "will shatter your"
|
|
|
|
cont "#MON!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
BlackbeltLungBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I got shattered!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-03-02 03:31:21 +00:00
|
|
|
BlackbeltLungAfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My #MON lost…"
|
|
|
|
line "My… my pride is"
|
|
|
|
cont "shattered…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 07:00:27 +00:00
|
|
|
CianwoodGym_MapEventHeader:
|
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
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $11, $4, 2, CIANWOOD_CITY
|
|
|
|
warp_def $11, $5, 2, CIANWOOD_CITY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 15, 3, SIGNPOST_READ, CianwoodGymStatue
|
|
|
|
signpost 15, 6, SIGNPOST_READ, CianwoodGymStatue
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 9
|
2015-11-15 20:07:20 +00:00
|
|
|
person_event SPRITE_CHUCK, 1, 4, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, ChuckScript_0x9d60f, -1
|
|
|
|
person_event SPRITE_BLACK_BELT, 12, 2, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 3, TrainerBlackbeltYoshi, -1
|
|
|
|
person_event SPRITE_BLACK_BELT, 12, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 3, TrainerBlackbeltLao, -1
|
|
|
|
person_event SPRITE_BLACK_BELT, 9, 3, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 2, TrainerBlackbeltNob, -1
|
|
|
|
person_event SPRITE_BLACK_BELT, 5, 5, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_TRAINER, 1, TrainerBlackbeltLung, -1
|
|
|
|
person_event SPRITE_BOULDER, 1, 5, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodGymBoulder, -1
|
|
|
|
person_event SPRITE_BOULDER, 7, 3, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodGymBoulder, -1
|
|
|
|
person_event SPRITE_BOULDER, 7, 4, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodGymBoulder, -1
|
|
|
|
person_event SPRITE_BOULDER, 7, 5, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, CianwoodGymBoulder, -1
|