2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const MAHOGANYMART1F_PHARMACIST
|
|
|
|
const MAHOGANYMART1F_BLACK_BELT
|
|
|
|
const MAHOGANYMART1F_LANCE
|
2019-08-22 17:42:17 -07:00
|
|
|
const MAHOGANYMART1F_DRAGONITE
|
2015-11-26 21:22:14 -08:00
|
|
|
const MAHOGANYMART1F_GRANNY
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
MahoganyMart1F_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2022-08-09 15:04:18 -07:00
|
|
|
scene_script MahoganyMart1FNoopScene, SCENE_MAHOGANYMART1F_NOOP
|
|
|
|
scene_script MahoganyMart1FLanceUncoversStairsScene, SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2022-08-09 15:04:18 -07:00
|
|
|
callback MAPCALLBACK_TILES, MahoganyMart1FStaircaseCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
MahoganyMart1FNoopScene:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
MahoganyMart1FLanceUncoversStairsScene:
|
2021-06-08 17:35:04 -07:00
|
|
|
sdefer MahoganyMart1FLanceUncoversStaircaseScript
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
MahoganyMart1FStaircaseCallback:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
|
2017-12-10 14:53:21 -08:00
|
|
|
iftrue .ShowStairs
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.ShowStairs:
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 6, 2, $1e ; stairs
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-08-22 17:39:23 -07:00
|
|
|
MahoganyMart1FPharmacistScript:
|
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_DECIDED_TO_HELP_LANCE
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .LanceEntered
|
2015-11-02 14:38:08 -08:00
|
|
|
pokemart MARTTYPE_STANDARD, MART_MAHOGANY_1
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.LanceEntered:
|
2019-08-22 17:39:23 -07:00
|
|
|
writetext MahoganyMart1FPharmacistText_LanceEntered
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2019-08-22 17:39:23 -07:00
|
|
|
MahoganyMart1FBlackBeltScript:
|
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_DECIDED_TO_HELP_LANCE
|
2018-02-28 14:47:31 -08:00
|
|
|
iftrue .LanceEntered
|
2019-08-22 17:39:23 -07:00
|
|
|
writetext MahoganyMart1FBlackBeltText
|
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
|
|
|
.LanceEntered:
|
2019-08-22 17:39:23 -07:00
|
|
|
writetext MahoganyMart1FBlackBeltText_LanceEntered
|
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
|
|
|
MahoganyMart1FLanceUncoversStaircaseScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MahoganyMart1FLanceDragoniteHyperBeamText
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TACKLE
|
2019-08-22 17:42:17 -07:00
|
|
|
applymovement MAHOGANYMART1F_DRAGONITE, MahoganyMart1FDragoniteTackleMovement
|
2019-08-22 17:37:12 -07:00
|
|
|
applymovement MAHOGANYMART1F_BLACK_BELT, MahoganyMart1FBlackBeltKnockedBackMovement
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2019-08-22 17:42:17 -07:00
|
|
|
disappear MAHOGANYMART1F_DRAGONITE
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2019-08-22 17:37:12 -07:00
|
|
|
applymovement MAHOGANYMART1F_LANCE, MahoganyMart1FLanceApproachPlayerMovement
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MahoganyMart1FLanceRadioText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-11-26 21:22:14 -08:00
|
|
|
follow MAHOGANYMART1F_LANCE, PLAYER
|
2019-08-22 17:37:12 -07:00
|
|
|
applymovement MAHOGANYMART1F_LANCE, MahoganyMart1FLanceApproachPharmacistMovement
|
|
|
|
applymovement MAHOGANYMART1F_PHARMACIST, MahoganyMart1FPharmacistShovedAsideMovement
|
|
|
|
applymovement MAHOGANYMART1F_LANCE, MahoganyMart1FLanceApproachHiddenStairsMovement
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MahoganyMart1FLanceStairsText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, MAHOGANYMART1F_PHARMACIST, 10
|
2015-07-25 11:25:37 -07:00
|
|
|
playsound SFX_FAINT
|
2018-01-17 10:23:43 -08:00
|
|
|
changeblock 6, 2, $1e ; stairs
|
2013-02-16 22:54:07 -08:00
|
|
|
reloadmappart
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject MAHOGANYMART1F_LANCE, LEFT
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext MahoganyMart1FLanceSplitUpText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2019-08-22 17:37:12 -07:00
|
|
|
applymovement MAHOGANYMART1F_LANCE, MahoganyMart1FLanceGoDownStairsMovement
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear MAHOGANYMART1F_LANCE
|
2022-07-29 14:43:10 -07:00
|
|
|
setscene SCENE_MAHOGANYMART1F_NOOP
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2019-08-22 17:39:23 -07:00
|
|
|
MahoganyMart1FGrannyScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-11-02 14:38:08 -08:00
|
|
|
pokemart MARTTYPE_STANDARD, MART_MAHOGANY_2
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2019-08-22 17:37:12 -07:00
|
|
|
MahoganyMart1FDragoniteTackleMovement:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step LEFT
|
|
|
|
big_step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2019-08-22 17:37:12 -07:00
|
|
|
MahoganyMart1FBlackBeltKnockedBackMovement:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
remove_fixed_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
turn_head DOWN
|
|
|
|
turn_head LEFT
|
|
|
|
turn_head UP
|
|
|
|
turn_head RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2019-08-22 17:37:12 -07:00
|
|
|
MahoganyMart1FPharmacistShovedAsideMovement:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
2016-05-14 10:46:14 -07:00
|
|
|
big_step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2019-08-22 17:37:12 -07:00
|
|
|
MahoganyMart1FLanceApproachPlayerMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
slow_step LEFT
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2019-08-22 17:37:12 -07:00
|
|
|
MahoganyMart1FLanceApproachPharmacistMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
slow_step RIGHT
|
|
|
|
slow_step UP
|
|
|
|
slow_step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2019-08-22 17:37:12 -07:00
|
|
|
MahoganyMart1FLanceApproachHiddenStairsMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
slow_step UP
|
|
|
|
slow_step RIGHT
|
|
|
|
slow_step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2019-08-22 17:37:12 -07:00
|
|
|
MahoganyMart1FLanceGoDownStairsMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
slow_step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2020-06-20 15:52:26 -07:00
|
|
|
MahoganyMart1FRageCandyBarText: ; unreferenced
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hello, kiddo!"
|
|
|
|
|
|
|
|
para "How would you like"
|
|
|
|
line "some RAGECANDYBAR?"
|
|
|
|
|
|
|
|
para "It's the thing to"
|
|
|
|
line "eat in MAHOGANY!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-08-22 17:39:23 -07:00
|
|
|
MahoganyMart1FPharmacistText_LanceEntered:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Arrgh… You found"
|
|
|
|
line "the secret stair-"
|
|
|
|
cont "way…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-08-22 17:39:23 -07:00
|
|
|
MahoganyMart1FBlackBeltText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Heheh! The experi-"
|
|
|
|
line "ment worked like a"
|
|
|
|
cont "charm."
|
|
|
|
|
|
|
|
para "MAGIKARP are just"
|
|
|
|
line "worthless, but"
|
|
|
|
|
|
|
|
para "GYARADOS are big"
|
|
|
|
line "moneymakers."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-08-22 17:39:23 -07:00
|
|
|
MahoganyMart1FBlackBeltText_LanceEntered:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Urrgh…"
|
|
|
|
|
|
|
|
para "That guy's dragon"
|
|
|
|
line "#MON are tough…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MahoganyMart1FLanceDragoniteHyperBeamText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "LANCE: DRAGONITE,"
|
|
|
|
line "HYPER BEAM."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MahoganyMart1FLanceRadioText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "What took you,"
|
2015-06-27 21:59:17 -07:00
|
|
|
line "<PLAY_G>?"
|
2014-03-05 21:29:44 -08:00
|
|
|
|
|
|
|
para "Just as I thought,"
|
|
|
|
line "that strange radio"
|
|
|
|
|
|
|
|
para "signal is coming"
|
|
|
|
line "from here."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MahoganyMart1FLanceStairsText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The stairs are"
|
|
|
|
line "right here."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
MahoganyMart1FLanceSplitUpText:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "LANCE: <PLAY_G>, we"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "should split up to"
|
|
|
|
|
|
|
|
para "check this place."
|
|
|
|
line "I'll go first."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
MahoganyMart1F_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 3, 7, MAHOGANY_TOWN, 1
|
|
|
|
warp_event 4, 7, MAHOGANY_TOWN, 1
|
|
|
|
warp_event 7, 3, TEAM_ROCKET_BASE_B1F, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2019-08-22 17:39:23 -07:00
|
|
|
object_event 4, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MahoganyMart1FPharmacistScript, EVENT_TEAM_ROCKET_BASE_POPULATION
|
|
|
|
object_event 1, 6, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MahoganyMart1FBlackBeltScript, EVENT_TEAM_ROCKET_BASE_POPULATION
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 4, 6, SPRITE_LANCE, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
|
|
|
|
object_event 3, 6, SPRITE_DRAGON, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
|
2019-08-22 17:39:23 -07:00
|
|
|
object_event 1, 3, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MahoganyMart1FGrannyScript, EVENT_MAHOGANY_MART_OWNERS
|