2015-07-10 01:45:35 -07:00
|
|
|
MahoganyMart1F_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x6c356, $0000
|
|
|
|
dw UnknownScript_0x6c357, $0000
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 1, UnknownScript_0x6c35b
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x6c356:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x6c357:
|
2013-02-16 22:54:07 -08:00
|
|
|
priorityjump UnknownScript_0x6c38f
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x6c35b:
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x6c362
|
|
|
|
return
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x6c362:
|
2013-02-16 22:54:07 -08:00
|
|
|
changeblock $6, $2, $1e
|
|
|
|
return
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
PharmacistScript_0x6c367:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_DECIDED_TO_HELP_LANCE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x6c375
|
|
|
|
pokemart $0, $000f
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x6c375:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x6c46b
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
BlackBeltScript_0x6c37b:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_DECIDED_TO_HELP_LANCE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x6c389
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x6c494
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x6c389:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x6c501
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x6c38f:
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x6c52a
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
|
|
|
loadmovesprites
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_TACKLE
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $5, MovementData_0x6c3f6
|
|
|
|
applymovement $3, MovementData_0x6c3fb
|
|
|
|
pause 15
|
|
|
|
disappear $5
|
|
|
|
pause 15
|
|
|
|
applymovement $4, MovementData_0x6c407
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x6c549
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-21 23:49:18 -07:00
|
|
|
follow $4, PLAYER
|
2013-02-16 22:54:07 -08:00
|
|
|
applymovement $4, MovementData_0x6c40a
|
|
|
|
applymovement $2, MovementData_0x6c403
|
|
|
|
applymovement $4, MovementData_0x6c40e
|
|
|
|
stopfollow
|
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x6c59e
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-15 12:48:44 -07:00
|
|
|
showemote EMOTE_SHOCK, $2, 10
|
2015-07-25 11:25:37 -07:00
|
|
|
playsound SFX_FAINT
|
2013-02-16 22:54:07 -08:00
|
|
|
changeblock $6, $2, $1e
|
|
|
|
reloadmappart
|
|
|
|
loadmovesprites
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART
|
2015-06-26 23:24:55 -07:00
|
|
|
spriteface $4, LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
loadfont
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x6c5ba
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $4, MovementData_0x6c412
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2013-02-16 22:54:07 -08:00
|
|
|
disappear $4
|
|
|
|
dotrigger $0
|
|
|
|
waitbutton
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
GrannyScript_0x6c3ee:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
|
|
|
pokemart $0, $0010
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x6c3f6:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
|
|
|
big_step_left
|
|
|
|
big_step_right
|
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x6c3fb:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
|
|
|
big_step_left
|
|
|
|
remove_fixed_facing
|
|
|
|
turn_head_down
|
|
|
|
turn_head_left
|
|
|
|
turn_head_up
|
|
|
|
turn_head_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x6c403:
|
2013-02-16 22:54:07 -08:00
|
|
|
fix_facing
|
|
|
|
big_step_left
|
|
|
|
remove_fixed_facing
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x6c407:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_left
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x6c40a:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_right
|
|
|
|
slow_step_up
|
|
|
|
slow_step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x6c40e:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_up
|
|
|
|
slow_step_right
|
|
|
|
slow_step_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MovementData_0x6c412:
|
2013-02-16 22:54:07 -08:00
|
|
|
slow_step_right
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c414:
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c46b:
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c494:
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c501:
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c52a:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "LANCE: DRAGONITE,"
|
|
|
|
line "HYPER BEAM."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c549:
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c59e:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The stairs are"
|
|
|
|
line "right here."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x6c5ba:
|
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
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MahoganyMart1F_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 3
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $7, $3, 1, MAHOGANY_TOWN
|
|
|
|
warp_def $7, $4, 1, MAHOGANY_TOWN
|
|
|
|
warp_def $3, $7, 1, TEAM_ROCKET_BASE_B1F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 5
|
2015-10-24 07:34:19 -07:00
|
|
|
person_event SPRITE_PHARMACIST, 3, 4, $6, 0, 0, -1, -1, 0, 0, 0, PharmacistScript_0x6c367, EVENT_TEAM_ROCKET_BASE_POPULATION
|
|
|
|
person_event SPRITE_BLACK_BELT, 6, 1, $3, 0, 0, -1, -1, 0, 0, 0, BlackBeltScript_0x6c37b, EVENT_TEAM_ROCKET_BASE_POPULATION
|
|
|
|
person_event SPRITE_LANCE, 6, 4, $8, 0, 0, -1, -1, 0, 0, 0, ObjectEvent, EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
|
|
|
|
person_event SPRITE_DRAGON, 6, 3, $8, 0, 0, -1, -1, 0, 0, 0, ObjectEvent, EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE
|
|
|
|
person_event SPRITE_GRANNY, 3, 1, $9, 0, 0, -1, -1, 0, 0, 0, GrannyScript_0x6c3ee, EVENT_MAHOGANY_MART_OWNERS
|