pokecrystal-board/maps/MrPokemonsHouse.asm

401 lines
7.4 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const MRPOKEMONSHOUSE_GENTLEMAN
const MRPOKEMONSHOUSE_OAK
2015-07-10 01:45:35 -07:00
MrPokemonsHouse_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 11:37:02 -08:00
dw UnknownScript_0x196e51, 0
dw UnknownScript_0x196e55, 0
.MapCallbacks:
db 0
2015-07-10 01:45:35 -07:00
UnknownScript_0x196e51:
priorityjump UnknownScript_0x196e56
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x196e55:
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x196e56:
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, MRPOKEMONSHOUSE_GENTLEMAN, 15
spriteface MRPOKEMONSHOUSE_GENTLEMAN, DOWN
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x196f66
2015-11-25 07:16:29 -08:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x196f5a
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x196fa8
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-25 07:16:29 -08:00
waitsfx
2015-11-04 17:20:14 -08:00
giveitem MYSTERY_EGG
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x196fd2
playsound SFX_KEY_ITEM
2015-11-25 07:16:29 -08:00
waitsfx
itemnotify
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON
blackoutmod CHERRYGROVE_CITY
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x196feb
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-26 21:22:14 -08:00
spriteface MRPOKEMONSHOUSE_GENTLEMAN, RIGHT
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x197092
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-26 21:22:14 -08:00
spriteface MRPOKEMONSHOUSE_GENTLEMAN, DOWN
spriteface MRPOKEMONSHOUSE_OAK, LEFT
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1970b7
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x196ec9
2015-07-10 01:45:35 -07:00
GentlemanScript_0x196e97:
faceplayer
loadfont
checkitem RED_SCALE
iftrue UnknownScript_0x196eb0
2013-09-24 00:48:58 -07:00
checkevent EVENT_GAVE_MYSTERY_EGG_TO_ELM
iftrue UnknownScript_0x196eaa
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x197134
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x196eaa:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19714a
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x196eb0:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x197476
yesorno
iffalse UnknownScript_0x196ec3
2015-11-04 17:20:14 -08:00
verbosegiveitem EXP_SHARE
iffalse UnknownScript_0x196ec7
2015-11-04 17:20:14 -08:00
takeitem RED_SCALE
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x196eaa
2015-07-10 01:45:35 -07:00
UnknownScript_0x196ec3:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19750d
2015-11-25 07:16:29 -08:00
waitbutton
2015-07-10 01:45:35 -07:00
UnknownScript_0x196ec7:
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x196ec9:
playmusic MUSIC_PROF_OAK
2015-11-26 21:22:14 -08:00
applymovement MRPOKEMONSHOUSE_OAK, MovementData_0x196f5d
spriteface PLAYER, RIGHT
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x197185
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-25 07:16:29 -08:00
waitsfx
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1973cc
playsound SFX_ITEM
2015-11-25 07:16:29 -08:00
waitsfx
2015-07-10 05:08:03 -07:00
setflag ENGINE_POKEDEX
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1973de
2015-11-25 07:16:29 -08:00
waitbutton
closetext
spriteface PLAYER, DOWN
2015-11-26 21:22:14 -08:00
applymovement MRPOKEMONSHOUSE_OAK, MovementData_0x196f61
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear MRPOKEMONSHOUSE_OAK
2015-11-25 07:16:29 -08:00
waitsfx
special RestartMapMusic
pause 15
spriteface PLAYER, UP
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1970ed
2015-11-25 07:16:29 -08:00
waitbutton
closetext
special Special_FadeBlackQuickly
special Special_ReloadSpritesNoPalettes
playmusic MUSIC_HEAL
special Mobile_HealParty
special HealParty
pause 60
2015-11-26 18:05:32 -08:00
special Special_FadeInQuickly
special RestartMapMusic
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x197134
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_RIVAL_NEW_BARK_TOWN
setevent EVENT_KRISS_HOUSE_1F_NEIGHBOR
clearevent EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR
dotrigger $1
domaptrigger CHERRYGROVE_CITY, $1
domaptrigger ELMS_LAB, $3
2015-10-24 07:34:19 -07:00
specialphonecall SPECIALCALL_ROBBED
clearevent EVENT_COP_IN_ELMS_LAB
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TOTODILE_FROM_ELM
iftrue UnknownScript_0x196f49
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
iftrue UnknownScript_0x196f4d
setevent EVENT_TOTODILE_POKEBALL_IN_ELMS_LAB
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x196f49:
setevent EVENT_CHIKORITA_POKEBALL_IN_ELMS_LAB
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x196f4d:
setevent EVENT_CYNDAQUIL_POKEBALL_IN_ELMS_LAB
end
2015-07-10 01:45:35 -07:00
MapMrPokemonsHouseSignpost1Script:
jumptext UnknownText_0x197543
2015-07-10 01:45:35 -07:00
MapMrPokemonsHouseSignpost3Script:
jumptext UnknownText_0x197584
2015-07-10 01:45:35 -07:00
MapMrPokemonsHouseSignpost4Script:
jumptext UnknownText_0x1975ac
2015-07-10 01:45:35 -07:00
MovementData_0x196f5a:
step_right
step_up
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x196f5d:
step_down
step_left
step_left
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x196f61:
step_down
step_left
turn_head_down
db $3f ; movement
step_end
2015-07-10 01:45:35 -07:00
UnknownText_0x196f66:
text "Hello, hello! You"
line "must be <PLAY_G>."
para "PROF.ELM said that"
line "you would visit."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x196fa8:
text "This is what I"
line "want PROF.ELM to"
cont "examine."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x196fd2:
text "<PLAYER> received"
line "MYSTERY EGG."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x196feb:
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
2015-07-10 01:45:35 -07:00
UnknownText_0x197092:
text "Even PROF.OAK here"
line "recognizes that."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x1970b7:
text "If my assumption"
line "is correct, PROF."
cont "ELM will know it."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x1970ed:
text "You are returning"
line "to PROF.ELM?"
para "Here. Your #MON"
line "should have some"
cont "rest."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x197134:
text "I'm depending on"
line "you!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x19714a:
text "Life is delight-"
line "ful! Always, new"
para "discoveries to be"
line "made!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x197185:
text "OAK: Aha! So"
line "you're <PLAY_G>!"
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
2015-07-10 01:45:35 -07:00
UnknownText_0x1973cc:
text "<PLAYER> received"
line "#DEX!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x1973de:
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."
para "<PLAY_G>, I'm"
line "counting on you!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x197476:
text "Hm? That SCALE!"
line "What's that?"
cont "A red GYARADOS?"
para "That's rare! "
line "I, I want it…"
para "<PLAY_G>, would you"
line "care to trade it?"
para "I can offer this"
line "EXP.SHARE I got"
cont "from PROF.OAK."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x19750d:
text "That's disappoint-"
line "ing. That happens"
cont "to be very rare."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x197543:
text "It's packed with"
line "foreign magazines."
para "Can't even read"
line "their titles…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x197584:
text "It's a big com-"
line "puter. Hmm. It's"
cont "broken."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x1975ac:
text "A whole pile of"
line "strange coins!"
para "Maybe they're from"
line "another country…"
done
2015-07-10 01:45:35 -07:00
MrPokemonsHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 2, ROUTE_30
warp_def $7, $3, 2, ROUTE_30
.XYTriggers:
db 0
.Signposts:
db 5
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
.PersonEvents:
db 2
person_event SPRITE_GENTLEMAN, 5, 3, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GentlemanScript_0x196e97, -1
person_event SPRITE_OAK, 5, 6, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_MR_POKEMONS_HOUSE_OAK