2015-06-26 04:01:08 +00:00
|
|
|
GoldenrodDeptStore5F_MapScriptHeader:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
dbw 2, .CheckIfSunday
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.CheckIfSunday:
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2015-07-16 22:10:10 +00:00
|
|
|
if_equal SUNDAY, .yes
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
|
|
|
return
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.yes:
|
2013-02-17 06:54:07 +00:00
|
|
|
appear $7
|
|
|
|
return
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
ClerkScript_0x5609c:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM02_HEADBUTT
|
2015-07-16 22:10:10 +00:00
|
|
|
iftrue .headbutt
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
2015-07-16 22:10:10 +00:00
|
|
|
iftrue .onlyrocksmash
|
|
|
|
jump .neither
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.headbutt:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TM08_ROCK_SMASH
|
2015-07-16 22:10:10 +00:00
|
|
|
iftrue .both
|
|
|
|
jump .onlyheadbutt
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.neither:
|
2013-02-17 06:54:07 +00:00
|
|
|
pokemart $0, $0009
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.onlyheadbutt:
|
2013-02-17 06:54:07 +00:00
|
|
|
pokemart $0, $000a
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.onlyrocksmash:
|
2013-02-17 06:54:07 +00:00
|
|
|
pokemart $0, $000b
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.both:
|
2013-02-17 06:54:07 +00:00
|
|
|
pokemart $0, $000c
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
ReceptionistScript_0x560ce:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2015-07-16 22:10:10 +00:00
|
|
|
if_not_equal SUNDAY, .EventIsOver
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
|
2015-07-16 22:10:10 +00:00
|
|
|
iftrue .EventIsOver
|
2015-07-15 19:48:44 +00:00
|
|
|
special GetFirstPokemonHappiness
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x56143
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-07-16 22:10:10 +00:00
|
|
|
if_greater_than $95, .VeryHappy
|
|
|
|
if_greater_than $31, .SomewhatHappy
|
|
|
|
jump .NotVeryHappy
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.VeryHappy:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x5615a
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-06-30 02:24:45 +00:00
|
|
|
verbosegiveitem TM_RETURN, 1
|
2015-07-16 22:10:10 +00:00
|
|
|
iffalse .Done
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.SomewhatHappy:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x561a6
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.NotVeryHappy:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x561d8
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-06-30 02:24:45 +00:00
|
|
|
verbosegiveitem TM_FRUSTRATION, 1
|
2015-07-16 22:10:10 +00:00
|
|
|
iffalse .Done
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.EventIsOver:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x56202
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-16 22:10:10 +00:00
|
|
|
.Done:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
TwinScript_0x56118:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-02-11 23:03:42 +00:00
|
|
|
special SpecialGameboyCheck
|
2015-07-16 22:10:10 +00:00
|
|
|
if_not_equal $2, .NotGBC ; This is a dummy check from Gold and Silver. In normal gameplay, this would not be checked.
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x56241
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-07-16 22:10:10 +00:00
|
|
|
special Special_UnlockMysteryGift
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.NotGBC:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x56279
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
LassScript_0x56130:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x562ad
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CooltrainerMScript_0x56133:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
|
|
|
trade $0
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
PokefanMScript_0x5613a:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x562f3
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
GoldenrodDeptStore5FDirectory:
|
|
|
|
jumptext GoldenrodDeptStore5FDirectoryText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
GoldenrodDeptStore5FElevatorButton:
|
2015-06-25 01:26:24 +00:00
|
|
|
jumpstd elevatorbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x56143:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hello. Oh, your"
|
|
|
|
line "#MON…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x5615a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's very attached"
|
|
|
|
line "to you."
|
|
|
|
|
|
|
|
para "This move should"
|
|
|
|
line "be perfect for a"
|
|
|
|
cont "pair like you."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x561a6:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's adorable!"
|
|
|
|
|
|
|
|
para "You should teach"
|
|
|
|
line "it good TM moves."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x561d8:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It looks evil. How"
|
|
|
|
line "about this TM for"
|
|
|
|
cont "it?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x56202:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There are sure to"
|
|
|
|
line "be TMs that are"
|
|
|
|
|
|
|
|
para "just perfect for"
|
|
|
|
line "your #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x56241:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MYSTERY GIFT."
|
|
|
|
|
|
|
|
para "With just a"
|
|
|
|
line "little beep, you"
|
|
|
|
cont "get a gift."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x56279:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The MYSTERY GIFT"
|
|
|
|
line "option requires a"
|
|
|
|
cont "Game Boy Color."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x562ad:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "On Sundays, a lady"
|
|
|
|
line "comes to check out"
|
|
|
|
cont "#MON."
|
|
|
|
|
|
|
|
para "She even gives"
|
|
|
|
line "away TMs!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x562f3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You can't rename a"
|
|
|
|
line "#MON you get in"
|
|
|
|
cont "a trade."
|
|
|
|
|
|
|
|
para "The name is a re-"
|
|
|
|
line "flection of the"
|
|
|
|
|
|
|
|
para "original trainer's"
|
|
|
|
line "feelings for it."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
GoldenrodDeptStore5FDirectoryText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Customize Your"
|
|
|
|
line "#MON"
|
|
|
|
|
|
|
|
para "5F TM CORNER"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
GoldenrodDeptStore5F_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 3
|
2015-07-23 16:59:19 +00:00
|
|
|
warp_def $0, $c, 1, GOLDENROD_DEPT_STORE_4F
|
|
|
|
warp_def $0, $f, 1, GOLDENROD_DEPT_STORE_6F
|
|
|
|
warp_def $0, $2, 1, GOLDENROD_DEPT_STORE_ELEVATOR
|
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 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 2
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 0, 14, SIGNPOST_READ, GoldenrodDeptStore5FDirectory
|
|
|
|
signpost 0, 3, SIGNPOST_READ, GoldenrodDeptStore5FElevatorButton
|
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 6
|
2015-10-24 14:34:19 +00:00
|
|
|
person_event SPRITE_CLERK, 5, 8, $7, 0, 0, -1, -1, 0, 0, 0, ClerkScript_0x5609c, -1
|
|
|
|
person_event SPRITE_LASS, 6, 3, $2, 1, 1, -1, -1, 0, 0, 0, LassScript_0x56130, -1
|
|
|
|
person_event SPRITE_COOLTRAINER_M, 3, 6, $3, 0, 0, -1, -1, 0, 0, 0, CooltrainerMScript_0x56133, -1
|
|
|
|
person_event SPRITE_POKEFAN_M, 5, 13, $2, 2, 2, -1, -1, 0, 0, 0, PokefanMScript_0x5613a, -1
|
|
|
|
person_event SPRITE_TWIN, 1, 9, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, TwinScript_0x56118, -1
|
|
|
|
person_event SPRITE_RECEPTIONIST, 5, 7, $7, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, ReceptionistScript_0x560ce, EVENT_GOLDENROD_DEPT_STORE_5F_HAPPINESS_EVENT_LADY
|