2015-07-10 08:20:21 +00:00
|
|
|
WarehouseEntrance_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 3
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 5, UnknownScript_0x7c043
|
|
|
|
|
|
|
|
dbw 1, UnknownScript_0x7c076
|
|
|
|
|
|
|
|
dbw 2, UnknownScript_0x7c082
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c043:
|
2013-09-24 07:48:58 +00:00
|
|
|
clearevent EVENT_SWITCH_1
|
|
|
|
clearevent EVENT_SWITCH_2
|
|
|
|
clearevent EVENT_SWITCH_3
|
|
|
|
clearevent EVENT_EMERGENCY_SWITCH
|
|
|
|
clearevent EVENT_SWITCH_4
|
|
|
|
clearevent EVENT_SWITCH_5
|
|
|
|
clearevent EVENT_SWITCH_6
|
|
|
|
clearevent EVENT_SWITCH_7
|
|
|
|
clearevent EVENT_SWITCH_8
|
|
|
|
clearevent EVENT_SWITCH_9
|
|
|
|
clearevent EVENT_SWITCH_10
|
|
|
|
clearevent EVENT_SWITCH_11
|
|
|
|
clearevent EVENT_SWITCH_12
|
|
|
|
clearevent EVENT_SWITCH_13
|
|
|
|
clearevent EVENT_SWITCH_14
|
2013-02-17 06:54:07 +00:00
|
|
|
writebyte $0
|
|
|
|
copyvartobyte UndergroundSwitchPositions
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c076:
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_USED_BASEMENT_KEY
|
2013-02-17 06:54:07 +00:00
|
|
|
iffalse UnknownScript_0x7c07d
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c07d:
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $12, $6, $3d
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c082:
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal MONDAY, UnknownScript_0x7c0a5
|
|
|
|
if_equal TUESDAY, UnknownScript_0x7c0b5
|
|
|
|
if_equal WEDNESDAY, UnknownScript_0x7c0be
|
|
|
|
if_equal THURSDAY, UnknownScript_0x7c0c7
|
|
|
|
if_equal FRIDAY, UnknownScript_0x7c0d0
|
|
|
|
if_equal SATURDAY, UnknownScript_0x7c0d9
|
|
|
|
disappear $7
|
|
|
|
disappear $8
|
|
|
|
appear $9
|
|
|
|
appear $a
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c0a5:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
2015-06-23 18:28:48 +00:00
|
|
|
checkmorn
|
2013-02-17 06:54:07 +00:00
|
|
|
iffalse UnknownScript_0x7c0ae
|
|
|
|
appear $7
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c0ae:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $8
|
|
|
|
disappear $9
|
|
|
|
disappear $a
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c0b5:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
|
|
|
appear $8
|
|
|
|
disappear $9
|
|
|
|
disappear $a
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c0be:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
|
|
|
disappear $8
|
|
|
|
appear $9
|
|
|
|
disappear $a
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c0c7:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
|
|
|
appear $8
|
|
|
|
disappear $9
|
|
|
|
disappear $a
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c0d0:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
|
|
|
disappear $8
|
|
|
|
appear $9
|
|
|
|
disappear $a
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c0d9:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $7
|
|
|
|
appear $8
|
|
|
|
disappear $9
|
|
|
|
appear $a
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSupernerdEric:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_SUPER_NERD_ERIC
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SUPER_NERD, ERIC
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SupernerdEricSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SupernerdEricBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SupernerdEricScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SupernerdEricScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c36c
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerSupernerdTeru:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_SUPER_NERD_TERU
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db SUPER_NERD, TERU
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw SupernerdTeruSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw SupernerdTeruBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw SupernerdTeruScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SupernerdTeruScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c410
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPokemaniacIssac:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_POKEMANIAC_ISSAC
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db POKEMANIAC, ISSAC
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw PokemaniacIssacSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw PokemaniacIssacBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw PokemaniacIssacScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PokemaniacIssacScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c498
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
TrainerPokemaniacDonald:
|
2013-02-17 06:54:07 +00:00
|
|
|
; bit/flag number
|
2015-07-10 08:20:21 +00:00
|
|
|
dw EVENT_BEAT_POKEMANIAC_DONALD
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; trainer group && trainer id
|
|
|
|
db POKEMANIAC, DONALD
|
|
|
|
|
|
|
|
; text when seen
|
|
|
|
dw PokemaniacDonaldSeenText
|
|
|
|
|
|
|
|
; text when trainer beaten
|
|
|
|
dw PokemaniacDonaldBeatenText
|
|
|
|
|
|
|
|
; script when lost
|
|
|
|
dw $0000
|
|
|
|
|
|
|
|
; script when talk again
|
|
|
|
dw PokemaniacDonaldScript
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PokemaniacDonaldScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
talkaftercancel
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c52f
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GrannyScript_0x7c132:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal SUNDAY, UnknownScript_0x7c140
|
|
|
|
if_equal SATURDAY, UnknownScript_0x7c140
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c300
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c140:
|
2013-02-17 06:54:07 +00:00
|
|
|
pokemart $1, $0021
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
GrampsScript_0x7c146:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c300
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal MONDAY, UnknownScript_0x7c156
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c300
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c156:
|
2015-06-23 18:28:48 +00:00
|
|
|
checkmorn
|
2013-02-17 06:54:07 +00:00
|
|
|
iffalse UnknownScript_0x7c300
|
|
|
|
pokemart $2, $0000
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SuperNerdScript_0x7c161:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal TUESDAY, UnknownScript_0x7c173
|
|
|
|
if_equal THURSDAY, UnknownScript_0x7c173
|
|
|
|
if_equal SATURDAY, UnknownScript_0x7c173
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c300
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c173:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c208
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function24ae8
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c5f9
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x7c1fc
|
|
|
|
checkmoney $0, 500
|
|
|
|
if_equal $2, UnknownScript_0x7c202
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c69a
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function7413
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal $0, UnknownScript_0x7c1fc
|
|
|
|
if_equal $1, UnknownScript_0x7c1fc
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal $2, UnknownScript_0x7c1a9
|
|
|
|
if_equal $3, UnknownScript_0x7c1b5
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c1c1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c1a9:
|
2015-07-17 21:17:10 +00:00
|
|
|
setevent EVENT_000
|
|
|
|
clearevent EVENT_001
|
2015-07-12 06:00:17 +00:00
|
|
|
clearevent EVENT_002
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c1cd
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c1b5:
|
2015-07-17 21:17:10 +00:00
|
|
|
clearevent EVENT_000
|
|
|
|
setevent EVENT_001
|
2015-07-12 06:00:17 +00:00
|
|
|
clearevent EVENT_002
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c1cd
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c1c1:
|
2015-07-17 21:17:10 +00:00
|
|
|
clearevent EVENT_000
|
|
|
|
clearevent EVENT_001
|
2015-07-12 06:00:17 +00:00
|
|
|
setevent EVENT_002
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c1cd
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c1cd:
|
2013-02-17 06:54:07 +00:00
|
|
|
takemoney $0, 500
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function24ae8
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c6b8
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c084
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_HEAL
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 60
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c079
|
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c6d8
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-17 21:17:10 +00:00
|
|
|
checkevent EVENT_000
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c2bb
|
2015-07-17 21:17:10 +00:00
|
|
|
checkevent EVENT_001
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c2c4
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c2cd
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c1fc:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c6ea
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c202:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c709
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c208:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c72b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SuperNerdScript_0x7c20e:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-07-10 02:08:03 +00:00
|
|
|
checkcode VAR_WEEKDAY
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal SUNDAY, UnknownScript_0x7c220
|
|
|
|
if_equal WEDNESDAY, UnknownScript_0x7c220
|
|
|
|
if_equal FRIDAY, UnknownScript_0x7c220
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c300
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c220:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c2b5
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function24ae8
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c75c
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x7c2a9
|
|
|
|
checkmoney $0, 300
|
|
|
|
if_equal $2, UnknownScript_0x7c2af
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c7f1
|
2013-02-17 06:54:07 +00:00
|
|
|
keeptextopen
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function7418
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal $0, UnknownScript_0x7c2a9
|
|
|
|
if_equal $1, UnknownScript_0x7c2a9
|
2015-07-10 12:08:03 +00:00
|
|
|
setflag ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
|
2013-02-17 06:54:07 +00:00
|
|
|
if_equal $2, UnknownScript_0x7c256
|
|
|
|
if_equal $3, UnknownScript_0x7c262
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c26e
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c256:
|
2015-07-17 21:17:10 +00:00
|
|
|
setevent EVENT_000
|
|
|
|
clearevent EVENT_001
|
2015-07-12 06:00:17 +00:00
|
|
|
clearevent EVENT_002
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c27a
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c262:
|
2015-07-17 21:17:10 +00:00
|
|
|
clearevent EVENT_000
|
|
|
|
setevent EVENT_001
|
2015-07-12 06:00:17 +00:00
|
|
|
clearevent EVENT_002
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c27a
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c26e:
|
2015-07-17 21:17:10 +00:00
|
|
|
clearevent EVENT_000
|
|
|
|
clearevent EVENT_001
|
2015-07-12 06:00:17 +00:00
|
|
|
setevent EVENT_002
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c27a
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c27a:
|
2013-02-17 06:54:07 +00:00
|
|
|
takemoney $0, 300
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function24ae8
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c80e
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c084
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_HEAL
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 60
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function8c079
|
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c82a
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-17 21:17:10 +00:00
|
|
|
checkevent EVENT_000
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c2bb
|
2015-07-17 21:17:10 +00:00
|
|
|
checkevent EVENT_001
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c2c4
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7c2cd
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2a9:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c842
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2af:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c85b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2b5:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c87b
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2bb:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c8bf
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc472
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2c4:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c8dc
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc472
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2cd:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c8ee
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc472
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapWarehouseEntranceSignpost0Script::
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_USED_BASEMENT_KEY
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7c2fa
|
|
|
|
checkitem BASEMENT_KEY
|
|
|
|
iftrue UnknownScript_0x7c2e8
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c5b0
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2e8:
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c5d6
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
changeblock $12, $6, $2e
|
|
|
|
reloadmappart
|
|
|
|
loadmovesprites
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_USED_BASEMENT_KEY
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c2fa:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c5c3
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownScript_0x7c300:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7c904
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
ItemFragment_0x7c306:
|
2013-02-17 06:54:07 +00:00
|
|
|
db COIN_CASE, 1
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapWarehouseEntranceSignpost1Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptext UnknownText_0x7c91a
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapWarehouseEntranceSignpostItem2:
|
2013-02-17 06:54:07 +00:00
|
|
|
dw $008b
|
|
|
|
db PARLYZ_HEAL
|
|
|
|
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapWarehouseEntranceSignpostItem3:
|
2013-02-17 06:54:07 +00:00
|
|
|
dw $008c
|
|
|
|
db SUPER_POTION
|
|
|
|
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
MapWarehouseEntranceSignpostItem4:
|
2013-02-17 06:54:07 +00:00
|
|
|
dw $008d
|
|
|
|
db ANTIDOTE
|
|
|
|
|
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SupernerdEricSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I got booted out"
|
|
|
|
line "of the GAME COR-"
|
|
|
|
cont "NER."
|
|
|
|
|
|
|
|
para "I was trying to"
|
|
|
|
line "cheat using my"
|
|
|
|
cont "#MON…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SupernerdEricBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…Grumble…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c36c:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I guess I have to"
|
|
|
|
line "do things fair and"
|
|
|
|
cont "square…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SupernerdTeruSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Do you consider"
|
|
|
|
line "type alignments in"
|
|
|
|
cont "battle?"
|
|
|
|
|
|
|
|
para "If you know your"
|
|
|
|
line "type advantages,"
|
|
|
|
|
|
|
|
para "you'll do better"
|
|
|
|
line "in battle."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
SupernerdTeruBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Ow, ow, ow!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c410:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I know my #MON"
|
|
|
|
line "type alignments."
|
|
|
|
|
|
|
|
para "But I only use one"
|
|
|
|
line "type of #MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PokemaniacIssacSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My #MON just"
|
|
|
|
line "got a haircut!"
|
|
|
|
|
|
|
|
para "I'll show you how"
|
|
|
|
line "strong it is!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PokemaniacIssacBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Aiyeeee!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c498:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Your #MON will"
|
|
|
|
line "like you more if"
|
|
|
|
|
|
|
|
para "you give them"
|
|
|
|
line "haircuts."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PokemaniacDonaldSeenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I think you have"
|
|
|
|
line "some rare #MON"
|
|
|
|
cont "with you."
|
|
|
|
|
|
|
|
para "Let me see them!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
PokemaniacDonaldBeatenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Gaah! I lost!"
|
|
|
|
line "That makes me mad!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c52f:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Are you making a"
|
|
|
|
line "#DEX? Here's a"
|
|
|
|
cont "hot tip."
|
|
|
|
|
|
|
|
para "The HIKER on ROUTE"
|
|
|
|
line "33, ANTHONY, is a"
|
|
|
|
cont "good guy."
|
|
|
|
|
|
|
|
para "He'll phone you if"
|
|
|
|
line "he sees any rare"
|
|
|
|
cont "#MON."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c5b0:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The door's locked…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c5c3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The door is open."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c5d6:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The BASEMENT KEY"
|
|
|
|
line "opened the door."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c5f9:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Welcome!"
|
|
|
|
|
|
|
|
para "I run the #MON"
|
|
|
|
line "SALON!"
|
|
|
|
|
|
|
|
para "I'm the older and"
|
|
|
|
line "better of the two"
|
|
|
|
cont "HAIRCUT BROTHERS."
|
|
|
|
|
|
|
|
para "I can make your"
|
|
|
|
line "#MON beautiful"
|
|
|
|
cont "for just ¥500."
|
|
|
|
|
|
|
|
para "Would you like me"
|
|
|
|
line "to do that?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c69a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Which #MON"
|
|
|
|
line "should I work on?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c6b8:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OK! Watch it"
|
|
|
|
line "become beautiful!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c6d8:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There! All done!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c6ea:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Is that right?"
|
|
|
|
line "That's a shame!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c709:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You'll need more"
|
|
|
|
line "money than that."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c72b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I do only one"
|
|
|
|
line "haircut a day. I'm"
|
|
|
|
cont "done for today."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c75c:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Welcome to the"
|
|
|
|
line "#MON SALON!"
|
|
|
|
|
|
|
|
para "I'm the younger"
|
|
|
|
line "and less expen-"
|
|
|
|
cont "sive of the two"
|
|
|
|
cont "HAIRCUT BROTHERS."
|
|
|
|
|
|
|
|
para "I'll spiff up your"
|
|
|
|
line "#MON for just"
|
|
|
|
cont "¥300."
|
|
|
|
|
|
|
|
para "So? How about it?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c7f1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OK, which #MON"
|
|
|
|
line "should I do?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c80e:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OK! I'll make it"
|
|
|
|
line "look cool!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c82a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There we go!"
|
|
|
|
line "All done!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c842:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "No? "
|
|
|
|
line "How disappointing!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c85b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You're a little"
|
|
|
|
line "short on funds."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c87b:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I can do only one"
|
|
|
|
line "haircut a day."
|
|
|
|
|
|
|
|
para "Sorry, but I'm all"
|
|
|
|
line "done for today."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c8bf:
|
2015-02-10 23:37:24 +00:00
|
|
|
text_from_ram StringBuffer3
|
2014-03-06 05:29:44 +00:00
|
|
|
text " looks a"
|
|
|
|
line "little happier."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c8dc:
|
2015-02-10 23:37:24 +00:00
|
|
|
text_from_ram StringBuffer3
|
2014-03-06 05:29:44 +00:00
|
|
|
text " looks"
|
|
|
|
line "happy."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c8ee:
|
2015-02-10 23:37:24 +00:00
|
|
|
text_from_ram StringBuffer3
|
2014-03-06 05:29:44 +00:00
|
|
|
text " looks"
|
|
|
|
line "delighted!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c904:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We're not open"
|
|
|
|
line "today."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
UnknownText_0x7c91a:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "NO ENTRY BEYOND"
|
|
|
|
line "THIS POINT"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:20:21 +00:00
|
|
|
WarehouseEntrance_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 6
|
|
|
|
warp_def $2, $3, 7, GROUP_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES, MAP_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES
|
|
|
|
warp_def $22, $3, 4, GROUP_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES, MAP_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES
|
|
|
|
warp_def $6, $12, 4, GROUP_WAREHOUSE_ENTRANCE, MAP_WAREHOUSE_ENTRANCE
|
|
|
|
warp_def $1f, $15, 3, GROUP_WAREHOUSE_ENTRANCE, MAP_WAREHOUSE_ENTRANCE
|
|
|
|
warp_def $1f, $16, 3, GROUP_WAREHOUSE_ENTRANCE, MAP_WAREHOUSE_ENTRANCE
|
|
|
|
warp_def $1b, $16, 1, GROUP_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES, MAP_UNDERGROUND_PATH_SWITCH_ROOM_ENTRANCES
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 5
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 6, 18, SIGNPOST_READ, MapWarehouseEntranceSignpost0Script
|
|
|
|
signpost 6, 19, SIGNPOST_READ, MapWarehouseEntranceSignpost1Script
|
|
|
|
signpost 13, 6, SIGNPOST_ITEMIFSET, MapWarehouseEntranceSignpostItem2
|
|
|
|
signpost 18, 4, SIGNPOST_ITEMIFSET, MapWarehouseEntranceSignpostItem3
|
|
|
|
signpost 8, 17, SIGNPOST_ITEMIFSET, MapWarehouseEntranceSignpostItem4
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 9
|
2015-07-16 22:10:10 +00:00
|
|
|
person_event SPRITE_SUPER_NERD, 35, 9, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 3, TrainerSupernerdEric, -1
|
|
|
|
person_event SPRITE_SUPER_NERD, 13, 10, UP << 2 | $3, $0, -1, -1, (PAL_OW_BROWN << 4) | $82, 2, TrainerSupernerdTeru, -1
|
|
|
|
person_event SPRITE_SUPER_NERD, 31, 7, LEFT << 2 | $2, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 2, TrainerPokemaniacIssac, -1
|
|
|
|
person_event SPRITE_SUPER_NERD, 10, 6, LEFT << 2 | $1, $0, -1, -1, (PAL_OW_BLUE << 4) | $82, 3, TrainerPokemaniacDonald, -1
|
|
|
|
person_event SPRITE_POKE_BALL, 29, 11, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x7c306, EVENT_672
|
|
|
|
person_event SPRITE_GRAMPS, 15, 11, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, GrampsScript_0x7c146, EVENT_753
|
|
|
|
person_event SPRITE_SUPER_NERD, 18, 11, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, SuperNerdScript_0x7c161, EVENT_754
|
|
|
|
person_event SPRITE_SUPER_NERD, 19, 11, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, SuperNerdScript_0x7c20e, EVENT_755
|
|
|
|
person_event SPRITE_GRANNY, 25, 11, LEFT << 2 | $0, $0, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, GrannyScript_0x7c132, EVENT_752
|