shithub: pokecrystal

ref: ca48571c51e92fa4b7635ea84f8a9f9a076bf25b
dir: /maps/MobileBattleRoom.asm/

View raw version
MobileBattleRoom_MapScriptHeader: ; 0x1935c4
	; trigger count
	db 2

	; triggers
	dw UnknownScript_0x1935ce, $0000
	dw UnknownScript_0x1935d2, $0000

	; callback count
	db 0
; 0x1935ce

UnknownScript_0x1935ce: ; 0x1935ce
	priorityjump UnknownScript_0x1935d3
	end
; 0x1935d2

UnknownScript_0x1935d2: ; 0x1935d2
	end
; 0x1935d3

UnknownScript_0x1935d3: ; 0x1935d3
	dotrigger $1
	domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $5
	end
; 0x1935da

MapMobileBattleRoomSignpost0Script: ; 0x1935da
	refreshscreen $0
	special Function1037c2
	if_equal $1, UnknownScript_0x193619
	special Function1037eb
	iffalse UnknownScript_0x193624
	if_equal $1, UnknownScript_0x1935f4
	if_equal $2, UnknownScript_0x19360d
	jump UnknownScript_0x193624
; 0x1935f4

UnknownScript_0x1935f4: ; 0x1935f4
	writetext UnknownText_0x193644
	pause 20
	loadmovesprites
	special Function8c084
	playmusic MUSIC_HEAL
	special Function1047eb
	pause 60
	special Function8c079
	special RestartMapMusic
	refreshscreen $0
UnknownScript_0x19360d: ; 0x19360d
	special Function1060a2
	special Functionc658
	special Function10383c
	iftrue UnknownScript_0x193624
UnknownScript_0x193619: ; 0x193619
	special Function10387b
	writetext UnknownText_0x193626
	closetext
	reloadmappart
	special Function101225
UnknownScript_0x193624: ; 0x193624
	loadmovesprites
	end
; 0x193626

UnknownText_0x193626: ; 0x193626
	text "Establishing"
	line "communications…"
	done
; 0x193644

UnknownText_0x193644: ; 0x193644
	text "Your #MON will"
	line "be fully healed"
	cont "before battle."
	done
; 0x193673

MobileBattleRoom_MapEventHeader: ; 0x193673
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $4, 6, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
	warp_def $7, $5, 6, GROUP_POKECENTER_2F, MAP_POKECENTER_2F

	; xy triggers
	db 0

	; signposts
	db 1
	signpost 2, 4, $1, MapMobileBattleRoomSignpost0Script

	; people-events
	db 0
; 0x193688