2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const MAHOGANYMART1F_PHARMACIST
|
|
|
|
const MAHOGANYMART1F_BLACK_BELT
|
|
|
|
const MAHOGANYMART1F_LANCE
|
|
|
|
const MAHOGANYMART1F_DRAGON
|
|
|
|
const MAHOGANYMART1F_GRANNY
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MahoganyMart1F_MapScriptHeader:
|
2017-12-24 18:46:34 +00:00
|
|
|
.SceneScripts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2017-12-24 18:46:34 +00:00
|
|
|
scene_script .DummyScene0
|
|
|
|
scene_script .LanceUncoversStaircase
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
2017-12-10 22:53:21 +00:00
|
|
|
dbw MAPCALLBACK_TILES, .MahoganyMart1FStaircase
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene0:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.LanceUncoversStaircase:
|
2013-02-17 06:54:07 +00:00
|
|
|
priorityjump UnknownScript_0x6c38f
|
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.MahoganyMart1FStaircase:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
|
2017-12-10 22:53:21 +00:00
|
|
|
iftrue .ShowStairs
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.ShowStairs:
|
2018-01-09 23:45:25 +00:00
|
|
|
changeblock 6, 2, $1e
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
PharmacistScript_0x6c367:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_DECIDED_TO_HELP_LANCE
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x6c375
|
2015-11-02 22:38:08 +00:00
|
|
|
pokemart MARTTYPE_STANDARD, MART_MAHOGANY_1
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x6c375:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x6c46b
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
BlackBeltScript_0x6c37b:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_DECIDED_TO_HELP_LANCE
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x6c389
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x6c494
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x6c389:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x6c501
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x6c38f:
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x6c52a
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TACKLE
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement MAHOGANYMART1F_DRAGON, MovementData_0x6c3f6
|
|
|
|
applymovement MAHOGANYMART1F_BLACK_BELT, MovementData_0x6c3fb
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear MAHOGANYMART1F_DRAGON
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement MAHOGANYMART1F_LANCE, MovementData_0x6c407
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x6c549
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
follow MAHOGANYMART1F_LANCE, PLAYER
|
|
|
|
applymovement MAHOGANYMART1F_LANCE, MovementData_0x6c40a
|
|
|
|
applymovement MAHOGANYMART1F_PHARMACIST, MovementData_0x6c403
|
|
|
|
applymovement MAHOGANYMART1F_LANCE, MovementData_0x6c40e
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x6c59e
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, MAHOGANYMART1F_PHARMACIST, 10
|
2015-07-25 18:25:37 +00:00
|
|
|
playsound SFX_FAINT
|
2018-01-09 23:45:25 +00:00
|
|
|
changeblock 6, 2, $1e
|
2013-02-17 06:54:07 +00:00
|
|
|
reloadmappart
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
|
2015-11-27 05:22:14 +00:00
|
|
|
spriteface MAHOGANYMART1F_LANCE, LEFT
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x6c5ba
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-11-27 05:22:14 +00:00
|
|
|
applymovement MAHOGANYMART1F_LANCE, MovementData_0x6c412
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear MAHOGANYMART1F_LANCE
|
2018-01-09 23:45:25 +00:00
|
|
|
setscene 0
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GrannyScript_0x6c3ee:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-11-02 22:38:08 +00:00
|
|
|
pokemart MARTTYPE_STANDARD, MART_MAHOGANY_2
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x6c3f6:
|
2013-02-17 06:54:07 +00:00
|
|
|
fix_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step LEFT
|
|
|
|
big_step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x6c3fb:
|
2013-02-17 06:54:07 +00:00
|
|
|
fix_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
remove_fixed_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head DOWN
|
|
|
|
turn_head LEFT
|
|
|
|
turn_head UP
|
|
|
|
turn_head RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x6c403:
|
2013-02-17 06:54:07 +00:00
|
|
|
fix_facing
|
2016-05-14 17:46:14 +00:00
|
|
|
big_step LEFT
|
2013-02-17 06:54:07 +00:00
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x6c407:
|
2016-05-14 17:46:14 +00:00
|
|
|
slow_step LEFT
|
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x6c40a:
|
2016-05-14 17:46:14 +00:00
|
|
|
slow_step RIGHT
|
|
|
|
slow_step UP
|
|
|
|
slow_step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x6c40e:
|
2016-05-14 17:46:14 +00:00
|
|
|
slow_step UP
|
|
|
|
slow_step RIGHT
|
|
|
|
slow_step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x6c412:
|
2016-05-14 17:46:14 +00:00
|
|
|
slow_step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c414:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c46b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Arrgh… You found"
|
|
|
|
line "the secret stair-"
|
|
|
|
cont "way…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c494:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c501:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Urrgh…"
|
|
|
|
|
|
|
|
para "That guy's dragon"
|
|
|
|
line "#MON are tough…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c52a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "LANCE: DRAGONITE,"
|
|
|
|
line "HYPER BEAM."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c549:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "What took you,"
|
2015-06-28 04:59:17 +00:00
|
|
|
line "<PLAY_G>?"
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "Just as I thought,"
|
|
|
|
line "that strange radio"
|
|
|
|
|
|
|
|
para "signal is coming"
|
|
|
|
line "from here."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c59e:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The stairs are"
|
|
|
|
line "right here."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x6c5ba:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "LANCE: <PLAY_G>, we"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "should split up to"
|
|
|
|
|
|
|
|
para "check this place."
|
|
|
|
line "I'll go first."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MahoganyMart1F_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 3
|
2017-12-28 19:31:25 +00:00
|
|
|
warp_def 3, 7, 1, MAHOGANY_TOWN
|
|
|
|
warp_def 4, 7, 1, MAHOGANY_TOWN
|
|
|
|
warp_def 7, 3, 1, TEAM_ROCKET_BASE_B1F
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.CoordEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.BGEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.ObjectEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 5
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 4, 3, SPRITE_PHARMACIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PharmacistScript_0x6c367, EVENT_TEAM_ROCKET_BASE_POPULATION
|
|
|
|
object_event 1, 6, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, BlackBeltScript_0x6c37b, EVENT_TEAM_ROCKET_BASE_POPULATION
|
|
|
|
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
|
|
|
|
object_event 1, 3, SPRITE_GRANNY, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GrannyScript_0x6c3ee, EVENT_MAHOGANY_MART_OWNERS
|