pokecrystal/maps/MountMortarB1F.asm

155 lines
3.6 KiB
NASM
Raw Normal View History

2018-01-31 16:38:45 +00:00
const_def 2 ; object constants
2015-11-27 05:22:14 +00:00
const MOUNTMORTARB1F_POKE_BALL1
const MOUNTMORTARB1F_POKE_BALL2
const MOUNTMORTARB1F_BOULDER
const MOUNTMORTARB1F_BLACK_BELT
const MOUNTMORTARB1F_POKE_BALL3
const MOUNTMORTARB1F_POKE_BALL4
const MOUNTMORTARB1F_POKE_BALL5
MountMortarB1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-02-28 22:47:31 +00:00
MountMortarB1FKiyoScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TYROGUE_FROM_KIYO
2018-02-28 22:47:31 +00:00
iftrue .GotTyrogue
2015-07-10 08:20:21 +00:00
checkevent EVENT_BEAT_BLACKBELT_KIYO
2018-02-28 22:47:31 +00:00
iftrue .BeatKiyo
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7e24d
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-02 19:37:02 +00:00
winlosstext UnknownText_0x7e2a9, 0
loadtrainer BLACKBELT_T, KIYO
startbattle
reloadmapafterbattle
2015-07-10 08:20:21 +00:00
setevent EVENT_BEAT_BLACKBELT_KIYO
2015-12-09 23:25:44 +00:00
opentext
2018-02-28 22:47:31 +00:00
.BeatKiyo:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7e2c0
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-25 15:16:29 +00:00
waitsfx
checkcode VAR_PARTYCOUNT
2018-02-28 22:47:31 +00:00
ifequal PARTY_LENGTH, .NoRoom
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7e355
playsound SFX_CAUGHT_MON
2015-11-25 15:16:29 +00:00
waitsfx
2015-10-04 18:14:51 +00:00
givepoke TYROGUE, 10
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TYROGUE_FROM_KIYO
2018-02-28 22:47:31 +00:00
.GotTyrogue:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7e36a
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2018-02-28 22:47:31 +00:00
.NoRoom:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7e3df
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
MountMortarB1FBoulder:
2015-06-23 21:02:58 +00:00
jumpstd strengthboulder
2015-12-15 15:55:56 +00:00
MountMortarB1FHyperPotion:
itemball HYPER_POTION
2015-12-15 15:55:56 +00:00
MountMortarB1FCarbos:
itemball CARBOS
2015-12-15 15:55:56 +00:00
MountMortarB1FFullRestore:
itemball FULL_RESTORE
2015-12-15 15:55:56 +00:00
MountMortarB1FMaxEther:
itemball MAX_ETHER
2015-12-15 15:55:56 +00:00
MountMortarB1FPPUp:
itemball PP_UP
MountMortarB1FHiddenMaxRevive:
hiddenitem MAX_REVIVE, EVENT_MOUNT_MORTAR_B1F_HIDDEN_MAX_REVIVE
2015-07-10 08:45:35 +00:00
UnknownText_0x7e24d:
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
2015-07-10 08:45:35 +00:00
UnknownText_0x7e2a9:
text "Waaaarggh!"
line "I'm beaten!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x7e2c0:
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
2015-07-10 08:45:35 +00:00
UnknownText_0x7e355:
text "<PLAYER> received"
line "TYROGUE."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x7e36a:
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
2015-07-10 08:45:35 +00:00
UnknownText_0x7e3df:
text "You have no room"
line "in your party!"
done
MountMortarB1F_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 3, 3, MOUNT_MORTAR_1F_INSIDE, 5
2018-02-02 02:54:00 +00:00
warp_event 19, 29, MOUNT_MORTAR_1F_OUTSIDE, 7
db 0 ; coord events
db 1 ; bg events
2018-02-02 03:22:07 +00:00
bg_event 4, 6, BGEVENT_ITEM, MountMortarB1FHiddenMaxRevive
db 7 ; object events
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-02 03:22:07 +00: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 22:47:31 +00:00
object_event 16, 4, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, MountMortarB1FKiyoScript, -1
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-02 03:22:07 +00: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
object_event 21, 26, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, MountMortarB1FPPUp, EVENT_MOUNT_MORTAR_B1F_PP_UP