2015-06-26 04:01:08 +00:00
|
|
|
MahoganyTown_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-06-26 05:30:16 +00:00
|
|
|
dw .Trigger1, $0000
|
|
|
|
dw .Trigger2, $0000
|
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
|
|
|
|
|
|
|
|
; callbacks
|
2015-06-26 05:30:16 +00:00
|
|
|
dbw 5, .FlyPoint
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
.Trigger1
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
.Trigger2
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
.FlyPoint
|
|
|
|
setflag ENGINE_FLYPOINT_MAHOGANY
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x190013:
|
2015-07-15 19:48:44 +00:00
|
|
|
showemote EMOTE_SHOCK, $2, 15
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $2, MovementData_0x1900a9
|
2015-07-22 06:49:18 +00:00
|
|
|
follow PLAYER, $2
|
|
|
|
applymovement PLAYER, MovementData_0x1900a7
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, RIGHT
|
2015-01-20 08:01:23 +00:00
|
|
|
scall UnknownScript_0x19002f
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $2, MovementData_0x1900ad
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
PokefanMScript_0x19002e:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x19002f:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x190039
|
2015-01-20 08:01:23 +00:00
|
|
|
scall UnknownScript_0x190040
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x190039:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1901a6
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x190040:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1900b0
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function24ae8
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x190072
|
|
|
|
checkmoney $0, 300
|
|
|
|
if_equal $2, UnknownScript_0x19006c
|
|
|
|
giveitem RAGECANDYBAR, $1
|
|
|
|
iffalse UnknownScript_0x190078
|
|
|
|
waitbutton
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2013-02-17 06:54:07 +00:00
|
|
|
takemoney $0, 300
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function24ae8
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19014a
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x19006c:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19015b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x190072:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x190178
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x190078:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x190188
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
GrampsScript_0x19007e:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x19008c
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1901e5
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x19008c:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19021d
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
FisherScript_0x190092:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x190276
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
LassScript_0x190095:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x1902f2
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyTownSign:
|
|
|
|
jumptext MahoganyTownSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyTownRagecandybarSign:
|
|
|
|
jumptext MahoganyTownRagecandybarSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyGymSign:
|
|
|
|
jumptext MahoganyGymSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyTownPokeCenterSign:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd pokecentersign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1900a4:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_down
|
|
|
|
big_step_up
|
|
|
|
turn_head_down
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1900a7:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_left
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1900a9:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_right
|
|
|
|
step_down
|
|
|
|
turn_head_left
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1900ad:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1900b0:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x19014a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Good! Savor it!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x19015b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You don't have"
|
|
|
|
line "enough money."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x190178:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, fine then…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x190188:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You don't have"
|
|
|
|
line "room for this."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1901a6:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "RAGECANDYBAR's"
|
|
|
|
line "sold out."
|
|
|
|
|
|
|
|
para "I'm packing up."
|
|
|
|
line "Don't bother me,"
|
|
|
|
cont "kiddo."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1901e5:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Are you off to see"
|
|
|
|
line "the GYARADOS ram-"
|
|
|
|
cont "page at the LAKE?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x19021d:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x190276:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1902f2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Visit Grandma's"
|
|
|
|
line "shop. She sells"
|
|
|
|
|
|
|
|
para "stuff that nobody"
|
|
|
|
line "else has."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyTownSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MAHOGANY TOWN"
|
|
|
|
|
|
|
|
para "Welcome to the"
|
|
|
|
line "Home of the Ninja"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyTownRagecandybarSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "While visiting"
|
|
|
|
line "MAHOGANY TOWN, try"
|
|
|
|
cont "a RAGECANDYBAR!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyGymSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MAHOGANY TOWN"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: PRYCE"
|
|
|
|
|
|
|
|
para "The Teacher of"
|
|
|
|
line "Winter's Harshness"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MahoganyTown_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 5
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $7, $b, 1, MAHOGANY_MART_1F
|
|
|
|
warp_def $7, $11, 1, MAHOGANY_RED_GYARADOS_SPEECH_HOUSE
|
|
|
|
warp_def $d, $6, 1, MAHOGANY_GYM
|
|
|
|
warp_def $d, $f, 1, MAHOGANY_POKECENTER_1F
|
|
|
|
warp_def $1, $9, 3, ROUTE_43_MAHOGANY_GATE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
|
|
|
xy_trigger 0, $8, $13, $0, UnknownScript_0x190013, $0, $0
|
|
|
|
xy_trigger 0, $9, $13, $0, UnknownScript_0x190013, $0, $0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 4
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 5, 1, SIGNPOST_READ, MahoganyTownSign
|
|
|
|
signpost 7, 9, SIGNPOST_READ, MahoganyTownRagecandybarSign
|
|
|
|
signpost 13, 3, SIGNPOST_READ, MahoganyGymSign
|
|
|
|
signpost 13, 16, SIGNPOST_READ, MahoganyTownPokeCenterSign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 4
|
2015-07-31 19:02:32 +00:00
|
|
|
person_event SPRITE_POKEFAN_M, 12, 23, $6, 0, 0, -1, -1, 0, 0, 0, PokefanMScript_0x19002e, EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST
|
|
|
|
person_event SPRITE_GRAMPS, 13, 10, $5, 0, 1, -1, -1, 0, 0, 0, GrampsScript_0x19007e, -1
|
|
|
|
person_event SPRITE_FISHER, 18, 10, $6, 0, 0, -1, -1, 8 + PAL_OW_GREEN, 0, 0, FisherScript_0x190092, EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_GYM
|
|
|
|
person_event SPRITE_LASS, 12, 16, $6, 0, 0, -1, -1, 0, 0, 0, LassScript_0x190095, EVENT_MAHOGANY_MART_OWNERS
|