2015-07-10 08:45:35 +00:00
|
|
|
GoldenrodDeptStoreB1F_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
|
|
|
dbw 1, UnknownScript_0x7d781
|
|
|
|
|
|
|
|
dbw 5, UnknownScript_0x7d7ac
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x7d781:
|
2015-07-12 06:00:17 +00:00
|
|
|
checkevent EVENT_04A
|
2013-02-17 06:54:07 +00:00
|
|
|
iftrue UnknownScript_0x7d78a
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7d791
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x7d78a:
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $10, $4, $d
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x7d791
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x7d791:
|
2015-07-10 12:08:03 +00:00
|
|
|
checkevent EVENT_WAREHOUSE_LAYOUT_2
|
|
|
|
iftrue .Layout2
|
|
|
|
checkevent EVENT_WAREHOUSE_LAYOUT_3
|
|
|
|
iftrue .Layout3
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $a, $8, $d
|
|
|
|
return
|
|
|
|
|
2015-07-10 12:08:03 +00:00
|
|
|
.Layout2
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $4, $a, $d
|
|
|
|
return
|
|
|
|
|
2015-07-10 12:08:03 +00:00
|
|
|
.Layout3
|
2013-02-17 06:54:07 +00:00
|
|
|
changeblock $a, $c, $d
|
|
|
|
return
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownScript_0x7d7ac:
|
2015-07-10 12:08:03 +00:00
|
|
|
clearevent EVENT_WAREHOUSE_BLOCKED_OFF
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
BlackBeltScript_0x7d7b0:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x7d7cb
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
BlackBeltScript_0x7d7b3:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x7d82c
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
BlackBeltScript_0x7d7b6:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x7d875
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MachopScript_0x7d7b9:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x7d8bb
|
2013-02-17 06:54:07 +00:00
|
|
|
cry MACHOKE
|
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ItemFragment_0x7d7c3:
|
2013-02-17 06:54:07 +00:00
|
|
|
db ETHER, 1
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ItemFragment_0x7d7c5:
|
2013-02-17 06:54:07 +00:00
|
|
|
db AMULET_COIN, 1
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ItemFragment_0x7d7c7:
|
2013-02-17 06:54:07 +00:00
|
|
|
db BURN_HEAL, 1
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ItemFragment_0x7d7c9:
|
2013-02-17 06:54:07 +00:00
|
|
|
db ULTRA_BALL, 1
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x7d7cb:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hey, kid! You're"
|
|
|
|
line "holding us up!"
|
|
|
|
|
|
|
|
para "Our policy is to"
|
|
|
|
line "work behind the"
|
|
|
|
|
|
|
|
para "scenes where no"
|
|
|
|
line "one can see us!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x7d82c:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I lose my passion"
|
|
|
|
line "for work if some-"
|
|
|
|
cont "one's watching."
|
|
|
|
|
|
|
|
para "Come on, kid,"
|
|
|
|
line "scoot!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x7d875:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oohah! Oohah!"
|
|
|
|
|
|
|
|
para "The stuff on the"
|
|
|
|
line "ground's junk."
|
|
|
|
|
|
|
|
para "Take it if you"
|
|
|
|
line "want it!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x7d8bb:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "MACHOKE: Maaacho!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GoldenrodDeptStoreB1F_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 3
|
|
|
|
warp_def $2, $11, 3, GROUP_UNDERGROUND_WAREHOUSE, MAP_UNDERGROUND_WAREHOUSE
|
|
|
|
warp_def $4, $9, 1, GROUP_GOLDENROD_DEPT_STORE_ELEVATOR, MAP_GOLDENROD_DEPT_STORE_ELEVATOR
|
|
|
|
warp_def $4, $a, 2, GROUP_GOLDENROD_DEPT_STORE_ELEVATOR, MAP_GOLDENROD_DEPT_STORE_ELEVATOR
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 8
|
2015-07-19 08:58:31 +00:00
|
|
|
person_event SPRITE_POKE_BALL, 19, 14, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7d7c3, EVENT_GOLDENROD_DEPT_STORE_B1F_ETHER
|
|
|
|
person_event SPRITE_POKE_BALL, 6, 18, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7d7c5, EVENT_GOLDENROD_DEPT_STORE_B1F_AMULET_COIN
|
|
|
|
person_event SPRITE_POKE_BALL, 7, 10, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7d7c7, EVENT_GOLDENROD_DEPT_STORE_B1F_BURN_HEAL
|
|
|
|
person_event SPRITE_POKE_BALL, 19, 19, OW_DOWN | $1, $0, -1, -1, $1, 0, ItemFragment_0x7d7c9, EVENT_GOLDENROD_DEPT_STORE_B1F_ULTRA_BALL
|
|
|
|
person_event SPRITE_BLACK_BELT, 14, 13, OW_UP | $0, $10, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, BlackBeltScript_0x7d7b0, -1
|
|
|
|
person_event SPRITE_BLACK_BELT, 12, 8, OW_DOWN | $3, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, BlackBeltScript_0x7d7b3, -1
|
|
|
|
person_event SPRITE_BLACK_BELT, 17, 10, OW_UP | $1, $1, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, BlackBeltScript_0x7d7b6, -1
|
|
|
|
person_event SPRITE_MACHOP, 11, 11, OW_UP | $12, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, MachopScript_0x7d7b9, -1
|