shithub: pokecrystal

ref: 6c3ec2d13d30fef17a3e636ef22052d90c61d0b5
dir: /maps/DarkCaveBlackthornEntrance.asm/

View raw version
DarkCaveBlackthornEntrance_MapScriptHeader: ; 0x18c71e
	; trigger count
	db 0

	; callback count
	db 0
; 0x18c720

UnknownScript_0x18c720: ; 0x18c720
	faceplayer
	loadfont
	checkbit1 $0072
	iftrue UnknownScript_0x18c735
	2writetext UnknownText_0x18c73f
	keeptextopen
	verbosegiveitem BLACKGLASSES, 1
	iffalse UnknownScript_0x18c739
	setbit1 $0072
UnknownScript_0x18c735: ; 0x18c735
	2writetext UnknownText_0x18c80c
	closetext
UnknownScript_0x18c739: ; 0x18c739
	loadmovesprites
	end
; 0x18c73b

ItemFragment_0x18c73b: ; 0x18c73b
	db REVIVE, 1
; 0x18c73d

ItemFragment_0x18c73d: ; 0x18c73d
	db TM_13, 1
; 0x18c73f

UnknownText_0x18c73f: ; 0x18c73f
	db $0, "Whoa! You startled", $4f
	db "me there!", $51
	db "I had my BLACK-", $4f
	db "GLASSES on, so I", $51
	db "didn't notice you", $4f
	db "at all.", $51
	db "What am I doing", $4f
	db "here?", $51
	db "Hey, don't you", $4f
	db "worry about it.", $51
	db "I'll give you a", $4f
	db "pair of BLACK-", $55
	db "GLASSES, so forget", $55
	db "you saw me, OK?", $57
; 0x18c80c

UnknownText_0x18c80c: ; 0x18c80c
	db $0, "BLACKGLASSES ups", $4f
	db "the power of dark-", $55
	db "type moves.", $57
; 0x18c83d

DarkCaveBlackthornEntrance_MapEventHeader: ; 0x18c83d
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $3, $17, 1, GROUP_ROUTE_45, MAP_ROUTE_45
	warp_def $19, $3, 2, GROUP_DARK_CAVE_VIOLET_ENTRANCE, MAP_DARK_CAVE_VIOLET_ENTRANCE

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 3
	person_event $4b, 7, 11, $3, $0, 255, 255, $0, 0, UnknownScript_0x18c720, $ffff
	person_event $54, 28, 25, $1, $0, 255, 255, $1, 0, ItemFragment_0x18c73b, $06a1
	person_event $54, 26, 11, $1, $0, 255, 255, $1, 0, ItemFragment_0x18c73d, $06a2
; 0x18c874