2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const BLACKTHORNGYM2F_COOLTRAINER_M
|
|
|
|
const BLACKTHORNGYM2F_COOLTRAINER_F
|
|
|
|
const BLACKTHORNGYM2F_BOULDER1
|
|
|
|
const BLACKTHORNGYM2F_BOULDER2
|
|
|
|
const BLACKTHORNGYM2F_BOULDER3
|
|
|
|
const BLACKTHORNGYM2F_BOULDER4
|
|
|
|
const BLACKTHORNGYM2F_BOULDER5
|
|
|
|
const BLACKTHORNGYM2F_BOULDER6
|
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
BlackthornGym2F_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 1
|
2016-01-06 21:59:56 +00:00
|
|
|
dbw MAPCALLBACK_CMDQUEUE, .Boulders
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Boulders:
|
2015-06-26 05:30:16 +00:00
|
|
|
writecmdqueue .BoulderCmdQueue
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.BoulderCmdQueue:
|
2016-03-09 00:54:06 +00:00
|
|
|
dbw CMDQUEUE_STONETABLE, .BoulderTable ; check if any stones are sitting on a warp
|
|
|
|
dw 0 ; filler
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.BoulderTable:
|
2015-12-15 15:55:56 +00:00
|
|
|
stonetable 5, BLACKTHORNGYM2F_BOULDER1, .Disappear4
|
|
|
|
stonetable 3, BLACKTHORNGYM2F_BOULDER2, .Disappear5
|
|
|
|
stonetable 4, BLACKTHORNGYM2F_BOULDER3, .Disappear6
|
|
|
|
db -1 ; end
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Disappear4:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear BLACKTHORNGYM2F_BOULDER1
|
2015-06-26 05:30:16 +00:00
|
|
|
jump .Fall
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Disappear5:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear BLACKTHORNGYM2F_BOULDER2
|
2015-06-26 05:30:16 +00:00
|
|
|
jump .Fall
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Disappear6:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear BLACKTHORNGYM2F_BOULDER3
|
2015-06-26 05:30:16 +00:00
|
|
|
jump .Fall
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.Fall:
|
2013-05-01 03:05:52 +00:00
|
|
|
pause 30
|
2015-06-26 05:30:16 +00:00
|
|
|
scall .FX
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-06-26 05:30:16 +00:00
|
|
|
writetext BlackthornGym2FBoulderFellText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-05-01 03:05:52 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.FX:
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_STRENGTH
|
2013-05-01 03:05:52 +00:00
|
|
|
earthquake 80
|
|
|
|
end
|
|
|
|
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
BlackthornGymBoulder:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd strengthboulder
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
TrainerCooltrainermCody:
|
2015-11-02 19:37:02 +00:00
|
|
|
trainer EVENT_BEAT_COOLTRAINERM_CODY, COOLTRAINERM, CODY, CooltrainermCodySeenText, CooltrainermCodyBeatenText, 0, CooltrainermCodyScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
CooltrainermCodyScript:
|
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 CooltrainermCodyAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
TrainerCooltrainerfFran:
|
2015-11-02 19:37:02 +00:00
|
|
|
trainer EVENT_BEAT_COOLTRAINERF_FRAN, COOLTRAINERF, FRAN, CooltrainerfFranSeenText, CooltrainerfFranBeatenText, 0, CooltrainerfFranScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
CooltrainerfFranScript:
|
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 CooltrainerfFranAfterBattleText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
CooltrainermCodySeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's not as if we"
|
|
|
|
line "all use dragon-"
|
|
|
|
cont "type #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
CooltrainermCodyBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Rats! If only I"
|
|
|
|
line "had a dragon!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
CooltrainermCodyAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Members of our"
|
|
|
|
line "dragon-user clan"
|
|
|
|
|
|
|
|
para "can use dragon"
|
|
|
|
line "#MON only after"
|
|
|
|
|
|
|
|
para "our MASTER allows"
|
|
|
|
line "it."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
CooltrainerfFranSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I can't allow a"
|
|
|
|
line "nameless trainer"
|
|
|
|
cont "past me!"
|
|
|
|
|
|
|
|
para "CLAIR would be"
|
|
|
|
line "livid if I did!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
CooltrainerfFranBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Awww… I lost…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 20:36:58 +00:00
|
|
|
CooltrainerfFranAfterBattleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Uh-oh… CLAIR is"
|
|
|
|
line "going to be mad…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
BlackthornGym2FBoulderFellText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The boulder fell"
|
|
|
|
line "through!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
BlackthornGym2F_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 5
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $7, $1, 3, BLACKTHORN_GYM_1F
|
|
|
|
warp_def $9, $7, 4, BLACKTHORN_GYM_1F
|
2016-03-09 00:54:06 +00:00
|
|
|
warp_def $5, $2, 5, BLACKTHORN_GYM_1F ; hole
|
|
|
|
warp_def $7, $8, 6, BLACKTHORN_GYM_1F ; hole
|
|
|
|
warp_def $3, $8, 7, BLACKTHORN_GYM_1F ; hole
|
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 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 8
|
2015-11-15 20:07:20 +00:00
|
|
|
person_event SPRITE_COOLTRAINER_M, 1, 4, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 1, TrainerCooltrainermCody, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_F, 11, 4, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_TRAINER, 1, TrainerCooltrainerfFran, -1
|
|
|
|
person_event SPRITE_BOULDER, 2, 8, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_1
|
|
|
|
person_event SPRITE_BOULDER, 3, 2, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_2
|
|
|
|
person_event SPRITE_BOULDER, 16, 6, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_3
|
|
|
|
person_event SPRITE_BOULDER, 3, 3, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
|
|
|
|
person_event SPRITE_BOULDER, 1, 6, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
|
|
|
|
person_event SPRITE_BOULDER, 14, 8, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
|