2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const MAHOGANYTOWN_POKEFAN_M
|
|
|
|
const MAHOGANYTOWN_GRAMPS
|
|
|
|
const MAHOGANYTOWN_FISHER
|
|
|
|
const MAHOGANYTOWN_LASS
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyTown_MapScriptHeader:
|
2017-12-24 10:46:34 -08:00
|
|
|
.SceneScripts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-24 10:46:34 -08:00
|
|
|
scene_script .DummyScene0
|
|
|
|
scene_script .DummyScene1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FlyPoint:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_MAHOGANY
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownScript_0x190013:
|
2015-11-26 21:22:14 -08:00
|
|
|
showemote EMOTE_SHOCK, MAHOGANYTOWN_POKEFAN_M, 15
|
|
|
|
applymovement MAHOGANYTOWN_POKEFAN_M, MovementData_0x1900a9
|
|
|
|
follow PLAYER, MAHOGANYTOWN_POKEFAN_M
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x1900a7
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, RIGHT
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x19002f
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement MAHOGANYTOWN_POKEFAN_M, MovementData_0x1900ad
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PokefanMScript_0x19002e:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownScript_0x19002f:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x190039
|
2015-01-20 00:01:23 -08:00
|
|
|
scall UnknownScript_0x190040
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownScript_0x190039:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1901a6
|
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
|
|
|
UnknownScript_0x190040:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1900b0
|
2018-01-02 08:13:57 -08:00
|
|
|
special Special_PlaceMoneyTopRight
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x190072
|
2018-01-11 22:40:20 -08:00
|
|
|
checkmoney YOUR_MONEY, 300
|
|
|
|
if_equal HAVE_LESS, UnknownScript_0x19006c
|
2015-11-04 17:20:14 -08:00
|
|
|
giveitem RAGECANDYBAR
|
2013-02-16 22:54:07 -08:00
|
|
|
iffalse UnknownScript_0x190078
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TRANSACTION
|
2018-01-11 22:40:20 -08:00
|
|
|
takemoney YOUR_MONEY, 300
|
2018-01-02 08:13:57 -08:00
|
|
|
special Special_PlaceMoneyTopRight
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x19014a
|
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
|
|
|
UnknownScript_0x19006c:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x19015b
|
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
|
|
|
UnknownScript_0x190072:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x190178
|
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
|
|
|
UnknownScript_0x190078:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x190188
|
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
|
|
|
GrampsScript_0x19007e:
|
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_CLEARED_ROCKET_HIDEOUT
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x19008c
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1901e5
|
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
|
|
|
UnknownScript_0x19008c:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x19021d
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
MahoganyTownFisherScript:
|
|
|
|
jumptextfaceplayer MahoganyTownFisherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
MahoganyTownLassScript:
|
|
|
|
jumptextfaceplayer MahoganyTownLassText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyTownSign:
|
|
|
|
jumptext MahoganyTownSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyTownRagecandybarSign:
|
|
|
|
jumptext MahoganyTownRagecandybarSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyGymSign:
|
|
|
|
jumptext MahoganyGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
MahoganyTownPokecenterSign:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd pokecentersign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1900a4:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
big_step UP
|
|
|
|
turn_head DOWN
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1900a7:
|
2016-05-14 10:46:14 -07:00
|
|
|
step LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1900a9:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step DOWN
|
|
|
|
turn_head LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1900ad:
|
2016-05-14 10:46:14 -07:00
|
|
|
step UP
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1900b0:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hiya, kid!"
|
|
|
|
|
|
|
|
para "I see you're new"
|
|
|
|
line "in MAHOGANY TOWN."
|
|
|
|
|
|
|
|
para "Since you're new,"
|
|
|
|
line "you should try a"
|
|
|
|
|
|
|
|
para "yummy RAGECANDY-"
|
|
|
|
line "BAR!"
|
|
|
|
|
|
|
|
para "Right now, it can"
|
|
|
|
line "be yours for just"
|
|
|
|
cont "¥300! Want one?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x19014a:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Good! Savor it!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x19015b:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You don't have"
|
|
|
|
line "enough money."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x190178:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, fine then…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x190188:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You don't have"
|
|
|
|
line "room for this."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1901a6:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "RAGECANDYBAR's"
|
|
|
|
line "sold out."
|
|
|
|
|
|
|
|
para "I'm packing up."
|
|
|
|
line "Don't bother me,"
|
|
|
|
cont "kiddo."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1901e5:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Are you off to see"
|
|
|
|
line "the GYARADOS ram-"
|
|
|
|
cont "page at the LAKE?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x19021d:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MAGIKARP have"
|
|
|
|
line "returned to LAKE"
|
|
|
|
cont "OF RAGE."
|
|
|
|
|
|
|
|
para "That should be"
|
|
|
|
line "good news for the"
|
|
|
|
cont "anglers there."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
MahoganyTownFisherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Since you came"
|
|
|
|
line "this far, take the"
|
|
|
|
|
|
|
|
para "time to do some"
|
|
|
|
line "sightseeing."
|
|
|
|
|
|
|
|
para "You should head"
|
|
|
|
line "north and check"
|
|
|
|
|
|
|
|
para "out LAKE OF RAGE"
|
|
|
|
line "right now."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
MahoganyTownLassText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Visit Grandma's"
|
|
|
|
line "shop. She sells"
|
|
|
|
|
|
|
|
para "stuff that nobody"
|
|
|
|
line "else has."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyTownSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MAHOGANY TOWN"
|
|
|
|
|
|
|
|
para "Welcome to the"
|
|
|
|
line "Home of the Ninja"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyTownRagecandybarSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "While visiting"
|
|
|
|
line "MAHOGANY TOWN, try"
|
|
|
|
cont "a RAGECANDYBAR!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MAHOGANY TOWN"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: PRYCE"
|
|
|
|
|
|
|
|
para "The Teacher of"
|
|
|
|
line "Winter's Harshness"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MahoganyTown_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 5
|
2017-12-28 11:31:25 -08:00
|
|
|
warp_def 11, 7, 1, MAHOGANY_MART_1F
|
|
|
|
warp_def 17, 7, 1, MAHOGANY_RED_GYARADOS_SPEECH_HOUSE
|
|
|
|
warp_def 6, 13, 1, MAHOGANY_GYM
|
|
|
|
warp_def 15, 13, 1, MAHOGANY_POKECENTER_1F
|
|
|
|
warp_def 9, 1, 3, ROUTE_43_MAHOGANY_GATE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.CoordEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-28 11:31:25 -08:00
|
|
|
coord_event 19, 8, 0, UnknownScript_0x190013
|
|
|
|
coord_event 19, 9, 0, UnknownScript_0x190013
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.BGEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 1, 5, BGEVENT_READ, MahoganyTownSign
|
|
|
|
bg_event 9, 7, BGEVENT_READ, MahoganyTownRagecandybarSign
|
|
|
|
bg_event 3, 13, BGEVENT_READ, MahoganyGymSign
|
|
|
|
bg_event 16, 13, BGEVENT_READ, MahoganyTownPokecenterSign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.ObjectEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 19, 8, SPRITE_POKEFAN_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PokefanMScript_0x19002e, EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST
|
|
|
|
object_event 6, 9, SPRITE_GRAMPS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x19007e, -1
|
|
|
|
object_event 6, 14, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, MahoganyTownFisherScript, EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_GYM
|
|
|
|
object_event 12, 8, SPRITE_LASS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MahoganyTownLassScript, EVENT_MAHOGANY_MART_OWNERS
|