shithub: pokecrystal

ref: 0e50b4c79833bbe07058a08fa91e59f4307e83a3
dir: /maps/GoldenrodDeptStoreB1F.asm/

View raw version
GoldenrodDeptStoreB1F_MapScriptHeader: ; 0x7d779
	; trigger count
	db 0

	; callback count
	db 2

	; callbacks

	dbw 1, UnknownScript_0x7d781

	dbw 5, UnknownScript_0x7d7ac
; 0x7d781

UnknownScript_0x7d781: ; 0x7d781
	checkbit1 $004a
	iftrue UnknownScript_0x7d78a
	2jump UnknownScript_0x7d791
; 0x7d78a

UnknownScript_0x7d78a: ; 0x7d78a
	changeblock $10, $4, $d
	2jump UnknownScript_0x7d791
; 0x7d791

UnknownScript_0x7d791: ; 0x7d791
	checkbit1 $0305
	iftrue UnknownScript_0x7d7a2
	checkbit1 $0306
	iftrue UnknownScript_0x7d7a7
	changeblock $a, $8, $d
	return
; 0x7d7a2

UnknownScript_0x7d7a2: ; 0x7d7a2
	changeblock $4, $a, $d
	return
; 0x7d7a7

UnknownScript_0x7d7a7: ; 0x7d7a7
	changeblock $a, $c, $d
	return
; 0x7d7ac

UnknownScript_0x7d7ac: ; 0x7d7ac
	clearbit1 $0307
	return
; 0x7d7b0

BlackBeltScript_0x7d7b0: ; 0x7d7b0
	jumptextfaceplayer UnknownText_0x7d7cb
; 0x7d7b3

BlackBeltScript_0x7d7b3: ; 0x7d7b3
	jumptextfaceplayer UnknownText_0x7d82c
; 0x7d7b6

BlackBeltScript_0x7d7b6: ; 0x7d7b6
	jumptextfaceplayer UnknownText_0x7d875
; 0x7d7b9

MachopScript_0x7d7b9: ; 0x7d7b9
	loadfont
	2writetext UnknownText_0x7d8bb
	cry MACHOKE
	closetext
	loadmovesprites
	end
; 0x7d7c3

ItemFragment_0x7d7c3: ; 0x7d7c3
	db ETHER, 1
; 0x7d7c5

ItemFragment_0x7d7c5: ; 0x7d7c5
	db AMULET_COIN, 1
; 0x7d7c7

ItemFragment_0x7d7c7: ; 0x7d7c7
	db BURN_HEAL, 1
; 0x7d7c9

ItemFragment_0x7d7c9: ; 0x7d7c9
	db ULTRA_BALL, 1
; 0x7d7cb

UnknownText_0x7d7cb: ; 0x7d7cb
	db $0, "Hey, kid! You're", $4f
	db "holding us up!", $51
	db "Our policy is to", $4f
	db "work behind the", $51
	db "scenes where no", $4f
	db "one can see us!", $57
; 0x7d82c

UnknownText_0x7d82c: ; 0x7d82c
	db $0, "I lose my passion", $4f
	db "for work if some-", $55
	db "one's watching.", $51
	db "Come on, kid,", $4f
	db "scoot!", $57
; 0x7d875

UnknownText_0x7d875: ; 0x7d875
	db $0, "Oohah! Oohah!", $51
	db "The stuff on the", $4f
	db "ground's junk.", $51
	db "Take it if you", $4f
	db "want it!", $57
; 0x7d8bb

UnknownText_0x7d8bb: ; 0x7d8bb
	db $0, "MACHOKE: Maaacho!", $57
; 0x7d8ce

GoldenrodDeptStoreB1F_MapEventHeader: ; 0x7d8ce
	; 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
	person_event SPRITE_POKE_BALL, 19, 14, $1, $0, 255, 255, $1, 0, ItemFragment_0x7d7c3, $0675
	person_event SPRITE_POKE_BALL, 6, 18, $1, $0, 255, 255, $1, 0, ItemFragment_0x7d7c5, $0676
	person_event SPRITE_POKE_BALL, 7, 10, $1, $0, 255, 255, $1, 0, ItemFragment_0x7d7c7, $0677
	person_event SPRITE_POKE_BALL, 19, 19, $1, $0, 255, 255, $1, 0, ItemFragment_0x7d7c9, $0678
	person_event SPRITE_BLACK_BELT, 14, 13, $4, $10, 255, 255, $a0, 0, BlackBeltScript_0x7d7b0, $ffff
	person_event SPRITE_BLACK_BELT, 12, 8, $3, $0, 255, 255, $80, 0, BlackBeltScript_0x7d7b3, $ffff
	person_event SPRITE_BLACK_BELT, 17, 10, $5, $1, 255, 255, $90, 0, BlackBeltScript_0x7d7b6, $ffff
	person_event SPRITE_MACHOP, 11, 11, $16, $0, 255, 255, $90, 0, MachopScript_0x7d7b9, $ffff
; 0x7d94b