pokecrystal-board/maps/GoldenrodPokeCenter1F.asm

833 lines
14 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const GOLDENRODPOKECENTER1F_NURSE
const GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
const GOLDENRODPOKECENTER1F_GAMEBOY_KID
const GOLDENRODPOKECENTER1F_LASS
const GOLDENRODPOKECENTER1F_POKEFAN_F
2015-07-10 01:45:35 -07:00
GoldenrodPokeCenter1F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 01:45:35 -07:00
NurseScript_0x60f91:
jumpstd pokecenternurse
2015-11-03 16:43:47 -08:00
GoldenrodPokeCenter1F_GSBallTriggerLeft:
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-03 16:43:47 -08:00
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
end
2015-11-03 16:43:47 -08:00
.gsball:
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
2015-11-03 16:43:47 -08:00
iftrue .cancel
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
moveperson GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, $0, $7
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND
2015-11-26 21:22:14 -08:00
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, MovementData_0x6105a
spriteface PLAYER, UP
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x622f0
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem GS_BALL
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
setevent EVENT_CAN_GIVE_GS_BALL_TO_KURT
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62359
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, MovementData_0x61060
special RestartMapMusic
2015-11-26 21:22:14 -08:00
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playsound SFX_EXIT_BUILDING
2015-11-03 16:43:47 -08:00
.cancel:
end
2015-11-03 16:43:47 -08:00
GoldenrodPokeCenter1F_GSBallTriggerRight:
2015-11-26 18:05:32 -08:00
writebyte BATTLETOWERACTION_CHECKMOBILEEVENT
2015-11-03 12:05:19 -08:00
special BattleTowerAction
2015-11-03 16:43:47 -08:00
if_equal MOBILE_EVENT_OBJECT_GS_BALL, .gsball
end
2015-11-03 16:43:47 -08:00
.gsball:
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
2015-11-03 16:43:47 -08:00
iftrue .cancel
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
moveperson GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, $0, $7
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
appear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playmusic MUSIC_SHOW_ME_AROUND
2015-11-26 21:22:14 -08:00
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, MovementData_0x61065
spriteface PLAYER, UP
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x622f0
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem GS_BALL
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER
setevent EVENT_CAN_GIVE_GS_BALL_TO_KURT
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62359
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
applymovement GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST, MovementData_0x6106c
special RestartMapMusic
2015-11-26 21:22:14 -08:00
disappear GOLDENRODPOKECENTER1F_LINK_RECEPTIONIST
playsound SFX_EXIT_BUILDING
2015-11-03 16:43:47 -08:00
.cancel:
end
2015-07-10 01:45:35 -07:00
GameboyKidScript_0x6101e:
jumptextfaceplayer UnknownText_0x62105
2015-07-10 01:45:35 -07:00
LassScript_0x61021:
jumptextfaceplayer UnknownText_0x62260
2015-07-10 01:45:35 -07:00
PokefanFScript_0x61024:
faceplayer
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x623fb
2015-11-25 07:16:29 -08:00
waitbutton
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x6248c
yesorno
iffalse UnknownScript_0x6104b
2015-11-04 17:20:14 -08:00
takeitem EON_MAIL
iffalse UnknownScript_0x6104b
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62549
2015-11-25 07:16:29 -08:00
waitbutton
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x624a4
2015-11-25 07:16:29 -08:00
waitbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem REVIVE
iffalse UnknownScript_0x61051
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x624e9
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x6104b:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x62509
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x61051:
2015-11-04 17:20:14 -08:00
giveitem EON_MAIL
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x6252a
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-07-10 01:45:35 -07:00
MovementData_0x6105a:
step_up
step_right
step_right
step_right
turn_head_down
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x61060:
step_left
step_left
step_left
step_down
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x61065:
step_up
step_right
step_right
step_right
step_right
turn_head_down
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x6106c:
step_left
step_left
step_left
step_left
step_down
step_end
; unused
2015-07-10 01:45:35 -07:00
UnknownText_0x61072:
text "Hello! Welcome to"
line "#COM CENTER"
cont "TRADE CORNER."
para "You can trade"
line "#MON with other"
cont "people far away."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x610ce:
text "To make a trade,"
line "we must hold your"
cont "#MON."
para "Would you like to"
line "trade?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61111:
text "What kind of"
line "#MON do you"
cont "want in return?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6113b:
text "Fine. We will try"
line "to trade your"
para "@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
text " for"
line "@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer4
text "."
para "We'll have to hold"
line "your #MON"
cont "during the trade."
para "Please wait while"
line "we prepare the"
cont "room for it."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x611c9:
text "Fine. We will try"
line "to trade your"
para "@"
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
text " for a"
line "#MON that you"
cont "have never seen."
para "We'll have to hold"
line "your #MON"
cont "during the trade."
para "Please wait while"
line "we prepare the"
cont "room for it."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61271:
text "Your trade #MON"
line "has been received."
para "It will take time"
line "to find a trade"
para "partner. Please"
line "come back later."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x612d8:
text "Oh? You have only"
line "one #MON in"
cont "your party. "
para "Please come back"
line "once you've in-"
cont "creased the size"
cont "of your party."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61344:
text "We hope to see you"
line "again."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6135f:
text "Communication"
line "error…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61375:
text "If we accept that"
line "#MON, what will"
cont "you battle with?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x613a9:
text "Sorry. We can't"
line "accept an EGG."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x613c8:
text "Sorry, but your"
line "#MON appears to"
para "be abnormal. We"
line "can't accept it."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61409:
text "Oh? Aren't we"
line "already holding a"
cont "#MON of yours?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61438:
text "We'll check the"
line "rooms."
para "Please wait."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6145c:
text "Thank you for your"
line "patience."
para "A trade partner"
line "has been found."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6149a:
text "It's your new"
line "partner."
para "Please take care"
line "of it with love."
para "We hope to see you"
line "again."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x614ed:
text "Uh-oh. Your party"
line "is already full."
para "Please come back"
line "when you have room"
cont "in your party."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61544:
text "It's unfortunate,"
line "but no one has"
para "come forward as a"
line "trade partner."
para "Would you like"
line "your #MON back?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x615a5:
text "We have returned"
line "your #MON."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x615c2:
text "It's unfortunate,"
line "but no one has"
para "come forward as a"
line "trade partner."
para "We've held your"
line "#MON for a long"
para "time. As a result,"
line "it is very lonely."
para "Sorry, but we must"
line "return it to you."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6166e:
text "We hope to see you"
line "again."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61689:
text "Fine. We will"
line "continue to hold"
cont "your #MON."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x616b4:
text "Oh? You left your"
line "#MON with us"
cont "only recently."
para "Please come back"
line "later."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x616fb:
text "We'll SAVE before"
line "connecting to the"
cont "CENTER."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61727:
text "Which #MON do"
line "you want to trade?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61749:
text "Sorry, but we must"
line "cancel the trade."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6176f:
text "Oh!"
para "I see you have an"
line "EGG TICKET!"
para "It's a coupon that"
line "special people can"
para "redeem for a"
line "special #MON!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x617d2:
text "Let me give you a"
line "quick briefing."
para "Trades held at the"
line "TRADE CORNER are"
para "between two"
line "trainers who don't"
para "know each other's"
line "identity."
para "As a result, it"
line "may take time."
para "However, an ODD"
line "EGG is available"
cont "just for you."
para "It will be sent to"
line "you right away."
para "Please choose one"
line "of the rooms in"
para "the CENTER."
line "An ODD EGG will be"
para "sent from the"
line "chosen room."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6191f:
text "Please wait a"
line "moment."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61936:
text "Thank you for"
line "waiting."
para "We received your"
line "ODD EGG."
para "Here it is!"
para "Please raise it"
line "with loving care."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61996:
text "I'm awfully sorry."
para "The EGG TICKET"
line "exchange service"
cont "isn't running now."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x619db:
text "It's a #MON"
line "NEWS MACHINE."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x619f5:
text "What would you"
line "like to do?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61a11:
text "#MON NEWS is"
line "news compiled from"
para "the SAVE files of"
line "#MON trainers."
para "When reading the"
line "NEWS, your SAVE"
para "file may be sent"
line "out."
para "The SAVE file data"
line "will contain your"
para "adventure log and"
line "mobile profile."
para "Your phone number"
line "will not be sent."
para "The contents of"
line "the NEWS will vary"
para "depending on the"
line "SAVE files sent by"
para "you and the other"
line "#MON trainers."
para "You might even be"
line "in the NEWS!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61b7c:
text "Would you like to"
line "get the NEWS?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61b9d:
text "Reading the latest"
line "NEWS… Please wait."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61bc4:
text "There is no old"
line "NEWS…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61bdb:
text "The NEWS data is"
line "corrupted."
para "Please download"
line "the NEWS again."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61c18:
text "We're making"
line "preparations."
para "Please come back"
line "later."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61c4b:
text "We will SAVE your"
line "progress before"
para "starting the NEWS"
line "MACHINE."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61c89:
text "Whoa, this #MON"
line "CENTER is huge."
para "They just built"
line "this place. They"
para "installed lots of"
line "new machines too."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61cef:
text "I thought up a fun"
line "new thing for the"
cont "TRADE CORNER!"
para "I make a PIDGEY"
line "hold MAIL, then"
para "put it up for"
line "trade for another"
cont "one!"
para "If everyone did"
line "that, MAIL could"
para "be traded with all"
line "sorts of people!"
para "I call it PIDGEY"
line "MAIL!"
para "If it becomes"
line "popular, I might"
para "make lots of new"
line "friends!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61dfd:
text "They said you can"
line "trade #MON with"
para "total strangers up"
line "here."
para "But they're still"
line "adjusting things."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61e5c:
text "Some girl I don't"
line "know sent me her"
para "HOPPIP."
line "You should trade"
para "for a #MON that"
line "you want."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61eb2:
text "I received a"
line "female HOPPIP, but"
cont "its named STANLEY!"
para "That's my dad's"
line "name!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61efa:
text "What is the NEWS"
line "MACHINE?"
para "Does it get news"
line "from a wider area"
cont "than the radio?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61f48:
text "The #COM CENTER"
line "will link with all"
para "#MON CENTERS in"
line "a wireless net."
para "That must mean"
line "I'll be able to"
para "link with all"
line "sorts of people."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x61fc9:
text "The machines here"
line "can't be used yet."
para "Still, it's nice"
line "coming to a trendy"
para "place before other"
line "people."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6202c:
text "My friend was in"
line "the NEWS a while"
para "back. I was really"
line "surprised!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6206d:
text "I get anxious if I"
line "don't check out"
cont "the latest NEWS!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x620a1:
text "If I get in the"
line "NEWS and become"
para "famous, I bet I'll"
line "be adored."
para "I wonder how I"
line "could get in the"
cont "NEWS?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62105:
text "The COLOSSEUM"
line "upstairs is for"
cont "link battles."
para "Battle records are"
line "posted on the"
para "wall, so I can't"
line "afford to lose."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62173:
text "I came over here"
line "when I got word"
para "that GOLDENROD's"
line "#MON CENTER has"
para "new machines that"
line "no one's ever seen"
cont "before."
para "But it looks like"
line "they're still busy"
para "with all their"
line "preparations…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62222:
text "Just seeing all"
line "these new things"
para "here makes me feel"
line "younger!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62260:
text "A higher level"
line "#MON doesn't"
cont "always win."
para "After all, it may"
line "have a type dis-"
cont "advantage."
para "I don't think"
line "there is a single"
para "#MON that is"
line "the toughest."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x622f0:
text "<PLAYER>, isn't it?"
para "Congratulations!"
para "As a special deal,"
line "a GS BALL has been"
cont "sent just for you!"
para "Please accept it!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62359:
text "Please do come"
line "again!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62370:
text "#COM CENTER"
line "1F INFORMATION"
para "Left:"
line "ADMINISTRATION"
para "Center:"
line "TRADE CORNER"
para "Right:"
line "#MON NEWS"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x623c7:
text "It's a #MON"
line "NEWS MACHINE!"
para "It's not in"
line "operation yet…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x623fb:
text "Oh my, your pack"
line "looks so heavy!"
para "Oh! Do you happen"
line "to have something"
cont "named EON MAIL?"
para "My daughter is"
line "after one."
para "You can part with"
line "one, can't you?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6248c:
text "Give away an EON"
line "MAIL?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x624a4:
text "Oh, that's great!"
line "Thank you, honey!"
para "Here, this is for"
line "you in return!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x624e9:
text "My daughter will"
line "be delighted!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62509:
text "Oh? You don't have"
line "one? Too bad."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x6252a:
text "Oh… Well, another"
line "time, then."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x62549:
text "<PLAYER> gave away"
line "the EON MAIL."
done
2015-07-10 01:45:35 -07:00
GoldenrodPokeCenter1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $7, $3, 15, GOLDENROD_CITY
warp_def $7, $4, 15, GOLDENROD_CITY
warp_def $6, $0, 1, GOLDENROD_POKECOM_CENTER_2F_MOBILE
warp_def $7, $0, 1, POKECENTER_2F
.XYTriggers:
db 2
2015-11-03 16:43:47 -08:00
xy_trigger 0, $7, $3, $0, GoldenrodPokeCenter1F_GSBallTriggerLeft, $0, $0
xy_trigger 0, $7, $4, $0, GoldenrodPokeCenter1F_GSBallTriggerRight, $0, $0
.Signposts:
db 0
.PersonEvents:
db 5
person_event SPRITE_NURSE, 1, 3, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, NurseScript_0x60f91, -1
person_event SPRITE_LINK_RECEPTIONIST, 8, 16, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, ObjectEvent, -1
person_event SPRITE_GAMEBOY_KID, 1, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, GameboyKidScript_0x6101e, -1
person_event SPRITE_LASS, 4, 1, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, LassScript_0x61021, -1
person_event SPRITE_POKEFAN_F, 5, 7, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, (1 << 3) | PAL_OW_BROWN, PERSONTYPE_SCRIPT, 0, PokefanFScript_0x61024, -1