2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2015-11-27 05:22:14 +00:00
|
|
|
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
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
BlackthornGym2F_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2018-01-13 06:03:42 +00:00
|
|
|
callback MAPCALLBACK_CMDQUEUE, .SetUpStoneTable
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-13 06:03:42 +00:00
|
|
|
.SetUpStoneTable:
|
|
|
|
writecmdqueue .CommandQueue
|
2020-07-17 12:37:03 +00:00
|
|
|
endcallback
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-13 06:03:42 +00:00
|
|
|
.CommandQueue:
|
|
|
|
cmdqueue CMDQUEUE_STONETABLE, .StoneTable ; check if any stones are sitting on a warp
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2018-01-13 06:03:42 +00:00
|
|
|
.StoneTable:
|
|
|
|
stonetable 5, BLACKTHORNGYM2F_BOULDER1, .Boulder1
|
|
|
|
stonetable 3, BLACKTHORNGYM2F_BOULDER2, .Boulder2
|
|
|
|
stonetable 4, BLACKTHORNGYM2F_BOULDER3, .Boulder3
|
2015-12-15 15:55:56 +00:00
|
|
|
db -1 ; end
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2018-01-13 06:03:42 +00:00
|
|
|
.Boulder1:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear BLACKTHORNGYM2F_BOULDER1
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .Fall
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2018-01-13 06:03:42 +00:00
|
|
|
.Boulder2:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear BLACKTHORNGYM2F_BOULDER2
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .Fall
|
2013-05-01 03:05:52 +00:00
|
|
|
|
2018-01-13 06:03:42 +00:00
|
|
|
.Boulder3:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear BLACKTHORNGYM2F_BOULDER3
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .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
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
BlackthornGymBoulder:
|
2020-06-10 20:44:16 +00:00
|
|
|
jumpstd StrengthBoulderScript
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
TrainerCooltrainermCody:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer COOLTRAINERM, CODY, EVENT_BEAT_COOLTRAINERM_CODY, CooltrainermCodySeenText, CooltrainermCodyBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
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:
|
2018-01-23 18:08:48 +00:00
|
|
|
trainer COOLTRAINERF, FRAN, EVENT_BEAT_COOLTRAINERF_FRAN, CooltrainerfFranSeenText, CooltrainerfFranBeatenText, 0, .Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.Script:
|
2018-02-03 02:09:17 +00:00
|
|
|
endifjustbattled
|
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
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
BlackthornGym2F_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 1, 7, BLACKTHORN_GYM_1F, 3
|
|
|
|
warp_event 7, 9, BLACKTHORN_GYM_1F, 4
|
|
|
|
warp_event 2, 5, BLACKTHORN_GYM_1F, 5 ; hole
|
|
|
|
warp_event 8, 7, BLACKTHORN_GYM_1F, 6 ; hole
|
|
|
|
warp_event 8, 3, BLACKTHORN_GYM_1F, 7 ; hole
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 4, 1, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainermCody, -1
|
|
|
|
object_event 4, 11, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_TRAINER, 1, TrainerCooltrainerfFran, -1
|
|
|
|
object_event 8, 2, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_1
|
|
|
|
object_event 2, 3, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_2
|
|
|
|
object_event 6, 16, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, EVENT_BOULDER_IN_BLACKTHORN_GYM_3
|
|
|
|
object_event 3, 3, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
|
|
|
|
object_event 6, 1, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
|
|
|
|
object_event 8, 14, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackthornGymBoulder, -1
|