shithub: pokecrystal

ref: 3a2dbb5289e745dfb5f26844148c0981f14e8fcf
dir: /maps/RuinsofAlphHoOhItemRoom.asm/

View raw version
RuinsofAlphHoOhItemRoom_MapScriptHeader: ; 0x59916
	; trigger count
	db 0

	; callback count
	db 0
; 0x59918

ItemFragment_0x59918: ; 0x59918
	db GOLD_BERRY, 1
; 0x5991a

ItemFragment_0x5991a: ; 0x5991a
	db MYSTERYBERRY, 1
; 0x5991c

ItemFragment_0x5991c: ; 0x5991c
	db REVIVAL_HERB, 1
; 0x5991e

ItemFragment_0x5991e: ; 0x5991e
	db CHARCOAL, 1
; 0x59920

MapRuinsofAlphHoOhItemRoomSignpost1Script: ; 0x59920
	jumptext UnknownText_0x59923
; 0x59923

UnknownText_0x59923: ; 0x59923
	db $0, "It's a replica of", $4f
	db "an ancient #-", $55
	db "MON.", $57
; 0x59948

RuinsofAlphHoOhItemRoom_MapEventHeader: ; 0x59948
	; filler
	db 0, 0

	; warps
	db 4
	warp_def $9, $3, 5, GROUP_RUINS_OF_ALPH_HO_OH_CHAMBER, MAP_RUINS_OF_ALPH_HO_OH_CHAMBER
	warp_def $9, $4, 5, GROUP_RUINS_OF_ALPH_HO_OH_CHAMBER, MAP_RUINS_OF_ALPH_HO_OH_CHAMBER
	warp_def $1, $3, 1, GROUP_RUINS_OF_ALPH_HO_OH_WORD_ROOM, MAP_RUINS_OF_ALPH_HO_OH_WORD_ROOM
	warp_def $1, $4, 2, GROUP_RUINS_OF_ALPH_HO_OH_WORD_ROOM, MAP_RUINS_OF_ALPH_HO_OH_WORD_ROOM

	; xy triggers
	db 0

	; signposts
	db 2
	signpost 1, 2, $0, MapRuinsofAlphHoOhItemRoomSignpost1Script
	signpost 1, 5, $0, MapRuinsofAlphHoOhItemRoomSignpost1Script

	; people-events
	db 4
	person_event SPRITE_POKE_BALL, 10, 6, $1, $0, 255, 255, $1, 0, ItemFragment_0x59918, $0794
	person_event SPRITE_POKE_BALL, 10, 9, $1, $0, 255, 255, $1, 0, ItemFragment_0x5991a, $0795
	person_event SPRITE_POKE_BALL, 8, 6, $1, $0, 255, 255, $1, 0, ItemFragment_0x5991c, $0796
	person_event SPRITE_POKE_BALL, 8, 9, $1, $0, 255, 255, $1, 0, ItemFragment_0x5991e, $0797
; 0x599a0