2015-07-10 08:45:35 +00:00
|
|
|
MrPokemonsHouse_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
|
|
|
dw UnknownScript_0x196e51, $0000
|
|
|
|
dw UnknownScript_0x196e55, $0000
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196e51:
|
2013-02-17 06:54:07 +00:00
|
|
|
priorityjump UnknownScript_0x196e56
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196e55:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196e56:
|
2015-07-15 19:48:44 +00:00
|
|
|
showemote EMOTE_SHOCK, $2, 15
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $2, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x196f66
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $0, MovementData_0x196f5a
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x196fa8
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
|
|
|
waitbutton
|
|
|
|
giveitem MYSTERY_EGG, $1
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x196fd2
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_KEY_ITEM
|
2013-02-17 06:54:07 +00:00
|
|
|
waitbutton
|
|
|
|
itemnotify
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
|
2013-02-17 06:54:07 +00:00
|
|
|
blackoutmod GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x196feb
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $2, RIGHT
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x197092
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $2, DOWN
|
|
|
|
spriteface $3, LEFT
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1970b7
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x196ec9
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GentlemanScript_0x196e97:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
|
|
|
checkitem RED_SCALE
|
|
|
|
iftrue UnknownScript_0x196eb0
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x196eaa
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x197134
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196eaa:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19714a
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196eb0:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x197476
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x196ec3
|
|
|
|
verbosegiveitem EXP_SHARE, 1
|
|
|
|
iffalse UnknownScript_0x196ec7
|
|
|
|
takeitem RED_SCALE, 1
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x196eaa
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196ec3:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x19750d
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196ec7:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196ec9:
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_PROF_OAK
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $3, MovementData_0x196f5d
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $0, RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x197185
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
|
|
|
waitbutton
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1973cc
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ITEM
|
2013-02-17 06:54:07 +00:00
|
|
|
waitbutton
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_POKEDEX
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1973de
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $0, DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $3, MovementData_0x196f61
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $3
|
|
|
|
waitbutton
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $0, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1970ed
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c0b6
|
|
|
|
special Functiond91
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_HEAL
|
2015-07-15 19:48:44 +00:00
|
|
|
special Mobile_HealParty
|
2015-06-27 06:24:55 +00:00
|
|
|
special HealParty
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 60
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c0ab
|
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x197134
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-18 19:46:38 +00:00
|
|
|
setevent EVENT_RIVAL_NEW_BARK_TOWN
|
|
|
|
setevent EVENT_KRISS_HOUSE_1F_NEIGHBOR
|
|
|
|
clearevent EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR
|
2013-02-17 06:54:07 +00:00
|
|
|
dotrigger $1
|
|
|
|
domaptrigger GROUP_CHERRYGROVE_CITY, MAP_CHERRYGROVE_CITY, $1
|
|
|
|
domaptrigger GROUP_ELMS_LAB, MAP_ELMS_LAB, $3
|
2015-07-17 21:17:10 +00:00
|
|
|
specialphonecall ELMCALL_ROBBED
|
2015-07-16 22:10:10 +00:00
|
|
|
clearevent EVENT_COP_IN_ELMS_LAB
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x196f49
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x196f4d
|
2015-07-16 22:10:10 +00:00
|
|
|
setevent EVENT_TOTODILE_POKEBALL_IN_ELMS_LAB
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196f49:
|
2015-07-16 22:10:10 +00:00
|
|
|
setevent EVENT_CHIKORITA_POKEBALL_IN_ELMS_LAB
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x196f4d:
|
2015-07-16 22:10:10 +00:00
|
|
|
setevent EVENT_CYNDAQUIL_POKEBALL_IN_ELMS_LAB
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapMrPokemonsHouseSignpost1Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x197543
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapMrPokemonsHouseSignpost3Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x197584
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapMrPokemonsHouseSignpost4Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x1975ac
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x196f5a:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x196f5d:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_down
|
|
|
|
step_left
|
|
|
|
step_left
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MovementData_0x196f61:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_down
|
|
|
|
step_left
|
|
|
|
turn_head_down
|
|
|
|
db $3f ; movement
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x196f66:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hello, hello! You"
|
2015-06-28 04:59:17 +00:00
|
|
|
line "must be <PLAY_G>."
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "PROF.ELM said that"
|
|
|
|
line "you would visit."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x196fa8:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "This is what I"
|
|
|
|
line "want PROF.ELM to"
|
|
|
|
cont "examine."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x196fd2:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "MYSTERY EGG."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x196feb:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I know a couple"
|
|
|
|
line "who run a #MON"
|
|
|
|
cont "DAY-CARE service."
|
|
|
|
|
|
|
|
para "They gave me that"
|
|
|
|
line "EGG."
|
|
|
|
|
|
|
|
para "I was intrigued,"
|
|
|
|
line "so I sent mail to"
|
|
|
|
cont "PROF.ELM."
|
|
|
|
|
|
|
|
para "For #MON evolu-"
|
|
|
|
line "tion, PROF.ELM is"
|
|
|
|
cont "the authority."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x197092:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Even PROF.OAK here"
|
|
|
|
line "recognizes that."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x1970b7:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "If my assumption"
|
|
|
|
line "is correct, PROF."
|
|
|
|
cont "ELM will know it."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x1970ed:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You are returning"
|
|
|
|
line "to PROF.ELM?"
|
|
|
|
|
|
|
|
para "Here. Your #MON"
|
|
|
|
line "should have some"
|
|
|
|
cont "rest."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x197134:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm depending on"
|
|
|
|
line "you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x19714a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Life is delight-"
|
|
|
|
line "ful! Always, new"
|
|
|
|
|
|
|
|
para "discoveries to be"
|
|
|
|
line "made!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x197185:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OAK: Aha! So"
|
2015-06-28 04:59:17 +00:00
|
|
|
line "you're <PLAY_G>!"
|
2014-03-06 05:29:44 +00:00
|
|
|
|
|
|
|
para "I'm OAK! A #MON"
|
|
|
|
line "researcher."
|
|
|
|
|
|
|
|
para "I was just visit-"
|
|
|
|
line "ing my old friend"
|
|
|
|
cont "MR.#MON."
|
|
|
|
|
|
|
|
para "I heard you were"
|
|
|
|
line "running an errand"
|
|
|
|
|
|
|
|
para "for PROF.ELM, so I"
|
|
|
|
line "waited here."
|
|
|
|
|
|
|
|
para "Oh! What's this?"
|
|
|
|
line "A rare #MON!"
|
|
|
|
|
|
|
|
para "Let's see…"
|
|
|
|
|
|
|
|
para "Hm, I see!"
|
|
|
|
|
|
|
|
para "I understand why"
|
|
|
|
line "PROF.ELM gave you"
|
|
|
|
|
|
|
|
para "a #MON for this"
|
|
|
|
line "errand."
|
|
|
|
|
|
|
|
para "To researchers"
|
|
|
|
line "like PROF.ELM and"
|
|
|
|
|
|
|
|
para "I, #MON are our"
|
|
|
|
line "friends."
|
|
|
|
|
|
|
|
para "He saw that you"
|
|
|
|
line "would treat your"
|
|
|
|
|
|
|
|
para "#MON with love"
|
|
|
|
line "and care."
|
|
|
|
|
|
|
|
para "…Ah!"
|
|
|
|
|
|
|
|
para "You seem to be"
|
|
|
|
line "dependable."
|
|
|
|
|
|
|
|
para "How would you like"
|
|
|
|
line "to help me out?"
|
|
|
|
|
|
|
|
para "See? This is the"
|
|
|
|
line "latest version of"
|
|
|
|
cont "#DEX."
|
|
|
|
|
|
|
|
para "It automatically"
|
|
|
|
line "records data on"
|
|
|
|
|
|
|
|
para "#MON you've"
|
|
|
|
line "seen or caught."
|
|
|
|
|
|
|
|
para "It's a hi-tech"
|
|
|
|
line "encyclopedia!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x1973cc:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "#DEX!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x1973de:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Go meet many kinds"
|
|
|
|
line "of #MON and"
|
|
|
|
|
|
|
|
para "complete that"
|
|
|
|
line "#DEX!"
|
|
|
|
|
|
|
|
para "But I've stayed"
|
|
|
|
line "too long."
|
|
|
|
|
|
|
|
para "I have to get to"
|
|
|
|
line "GOLDENROD for my"
|
|
|
|
cont "usual radio show."
|
|
|
|
|
2015-06-28 04:59:17 +00:00
|
|
|
para "<PLAY_G>, I'm"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "counting on you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x197476:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hm? That SCALE!"
|
|
|
|
line "What's that?"
|
|
|
|
cont "A red GYARADOS?"
|
|
|
|
|
|
|
|
para "That's rare! "
|
|
|
|
line "I, I want it…"
|
|
|
|
|
2015-06-28 04:59:17 +00:00
|
|
|
para "<PLAY_G>, would you"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "care to trade it?"
|
|
|
|
|
|
|
|
para "I can offer this"
|
|
|
|
line "EXP.SHARE I got"
|
|
|
|
cont "from PROF.OAK."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x19750d:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "That's disappoint-"
|
|
|
|
line "ing. That happens"
|
|
|
|
cont "to be very rare."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x197543:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's packed with"
|
|
|
|
line "foreign magazines."
|
|
|
|
|
|
|
|
para "Can't even read"
|
|
|
|
line "their titles…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x197584:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's a big com-"
|
|
|
|
line "puter. Hmm. It's"
|
|
|
|
cont "broken."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x1975ac:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A whole pile of"
|
|
|
|
line "strange coins!"
|
|
|
|
|
|
|
|
para "Maybe they're from"
|
|
|
|
line "another country…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MrPokemonsHouse_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $7, $2, 2, GROUP_ROUTE_30, MAP_ROUTE_30
|
|
|
|
warp_def $7, $3, 2, GROUP_ROUTE_30, MAP_ROUTE_30
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 5
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 1, 0, SIGNPOST_READ, MapMrPokemonsHouseSignpost1Script
|
|
|
|
signpost 1, 1, SIGNPOST_READ, MapMrPokemonsHouseSignpost1Script
|
|
|
|
signpost 1, 6, SIGNPOST_READ, MapMrPokemonsHouseSignpost3Script
|
|
|
|
signpost 1, 7, SIGNPOST_READ, MapMrPokemonsHouseSignpost3Script
|
|
|
|
signpost 4, 6, SIGNPOST_READ, MapMrPokemonsHouseSignpost4Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 2
|
2015-07-16 22:10:10 +00:00
|
|
|
person_event SPRITE_GENTLEMAN, 9, 7, LEFT << 2 | $1, $0, -1, -1, $0, 0, GentlemanScript_0x196e97, -1
|
2015-07-18 19:46:38 +00:00
|
|
|
person_event SPRITE_OAK, 9, 10, UP << 2 | $3, $0, -1, -1, $0, 0, ObjectEvent, EVENT_MR_POKEMONS_HOUSE_OAK
|