summaryrefslogtreecommitdiff
path: root/scripts/beach_house2.asm
blob: 918334ab7d5dd74f2508ec90f3be6e8634c1d814 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Func_f23d0: ; f23d0
	call SaveScreenTilesToBuffer2
	xor a
	ld [wUpdateSpritesEnabled], a
	ld hl, wd730
	set 6, [hl]
	callab Func_e8c5c
	ld hl, wd730
	res 6, [hl]
	call GBPalWhiteOutWithDelay3
	call ReloadTilesetTilePatterns
	call RestoreScreenTilesAndReloadTilePatterns
	call LoadScreenTilesFromBuffer2
	call Delay3
	call GBPalNormal
	ld hl, Text_f2412
	ld a, [hOaksAideResult]
	and a
	jr nz, .asm_f2406
	ld hl, Text_f240c
.asm_f2406
	call PrintText
	jp TextScriptEnd

Text_f240c:
	TX_FAR _BeachHousePrinterText5
	TX_SFX_ITEM2
	db "@"

Text_f2412:
	TX_FAR _BeachHousePrinterText6
	TX_SFX_ITEM2
	db "@"