2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const MOUNTMORTARB1F_POKE_BALL1
|
|
|
|
const MOUNTMORTARB1F_POKE_BALL2
|
|
|
|
const MOUNTMORTARB1F_BOULDER
|
2019-08-22 17:48:32 -07:00
|
|
|
const MOUNTMORTARB1F_KIYO
|
2015-11-26 21:22:14 -08:00
|
|
|
const MOUNTMORTARB1F_POKE_BALL3
|
|
|
|
const MOUNTMORTARB1F_POKE_BALL4
|
|
|
|
const MOUNTMORTARB1F_POKE_BALL5
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
MountMortarB1F_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
MountMortarB1FKiyoScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TYROGUE_FROM_KIYO
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .GotTyrogue
|
2015-07-10 01:20:21 -07:00
|
|
|
checkevent EVENT_BEAT_BLACKBELT_KIYO
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .BeatKiyo
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MountMortarB1FKiyoIntroText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2019-10-20 15:24:17 -07:00
|
|
|
winlosstext MountMortarB1FKiyoWinText, 0
|
2015-12-01 18:54:11 -08:00
|
|
|
loadtrainer BLACKBELT_T, KIYO
|
2013-02-16 22:54:07 -08:00
|
|
|
startbattle
|
2015-12-26 15:11:55 -08:00
|
|
|
reloadmapafterbattle
|
2015-07-10 01:20:21 -07:00
|
|
|
setevent EVENT_BEAT_BLACKBELT_KIYO
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-02-28 14:47:31 -08:00
|
|
|
.BeatKiyo:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MountMortarB1FTyrogueRewardText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-28 14:47:31 -08:00
|
|
|
ifequal PARTY_LENGTH, .NoRoom
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MountMortarB1FReceiveMonText
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_CAUGHT_MON
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-10-04 11:14:51 -07:00
|
|
|
givepoke TYROGUE, 10
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_TYROGUE_FROM_KIYO
|
2018-02-28 14:47:31 -08:00
|
|
|
.GotTyrogue:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MountMortarB1FKiyoGotTyrogueText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.NoRoom:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MountMortarB1FKiyoFullPartyText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MountMortarB1FBoulder:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd StrengthBoulderScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
MountMortarB1FHyperPotion:
|
|
|
|
itemball HYPER_POTION
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
MountMortarB1FCarbos:
|
|
|
|
itemball CARBOS
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
MountMortarB1FFullRestore:
|
|
|
|
itemball FULL_RESTORE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
MountMortarB1FMaxEther:
|
|
|
|
itemball MAX_ETHER
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
MountMortarB1FPPUp:
|
|
|
|
itemball PP_UP
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
MountMortarB1FHiddenMaxRevive:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem MAX_REVIVE, EVENT_MOUNT_MORTAR_B1F_HIDDEN_MAX_REVIVE
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MountMortarB1FKiyoIntroText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey!"
|
|
|
|
|
|
|
|
para "I am the KARATE"
|
|
|
|
line "KING!"
|
|
|
|
|
|
|
|
para "I train alone here"
|
|
|
|
line "in the dark!"
|
|
|
|
|
|
|
|
para "You!"
|
|
|
|
line "Battle with me!"
|
|
|
|
|
|
|
|
para "Hwaaarggh!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MountMortarB1FKiyoWinText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Waaaarggh!"
|
|
|
|
line "I'm beaten!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MountMortarB1FTyrogueRewardText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I… I'm crushed…"
|
|
|
|
|
|
|
|
para "My training is"
|
|
|
|
line "still not enough…"
|
|
|
|
|
|
|
|
para "But a loss is a"
|
|
|
|
line "loss. I admit it."
|
|
|
|
|
|
|
|
para "As proof that you"
|
|
|
|
line "defeated me, I'll"
|
|
|
|
|
|
|
|
para "give you a rare"
|
|
|
|
line "fighting #MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MountMortarB1FReceiveMonText:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> received"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "TYROGUE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MountMortarB1FKiyoGotTyrogueText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "TYROGUE is a"
|
|
|
|
line "fighting-type."
|
|
|
|
|
|
|
|
para "It evolves into a"
|
|
|
|
line "tougher #MON."
|
|
|
|
|
|
|
|
para "Keep up the hard"
|
|
|
|
line "work. I'll keep"
|
|
|
|
cont "training too."
|
|
|
|
|
|
|
|
para "Farewell!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MountMortarB1FKiyoFullPartyText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You have no room"
|
|
|
|
line "in your party!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
MountMortarB1F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 3, 3, MOUNT_MORTAR_1F_INSIDE, 5
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 19, 29, MOUNT_MORTAR_1F_OUTSIDE, 7
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; bg events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 4, 6, BGEVENT_ITEM, MountMortarB1FHiddenMaxRevive
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 7 ; object events
|
2018-01-30 19:12:53 -08:00
|
|
|
object_event 29, 12, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, MountMortarB1FHyperPotion, EVENT_MOUNT_MORTAR_B1F_HYPER_POTION
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 4, 16, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, MountMortarB1FCarbos, EVENT_MOUNT_MORTAR_B1F_CARBOS
|
|
|
|
object_event 9, 10, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MountMortarB1FBoulder, -1
|
2018-02-28 14:47:31 -08:00
|
|
|
object_event 16, 4, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, MountMortarB1FKiyoScript, -1
|
2018-01-30 19:12:53 -08:00
|
|
|
object_event 34, 24, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, MountMortarB1FFullRestore, EVENT_MOUNT_MORTAR_B1F_FULL_RESTORE
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 32, 3, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, MountMortarB1FMaxEther, EVENT_MOUNT_MORTAR_B1F_MAX_ETHER
|
2018-01-30 19:12:53 -08:00
|
|
|
object_event 21, 26, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, MountMortarB1FPPUp, EVENT_MOUNT_MORTAR_B1F_PP_UP
|