summaryrefslogtreecommitdiff
path: root/scripts/BeachHouse2.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/BeachHouse2.asm')
-rwxr-xr-xscripts/BeachHouse2.asm33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/BeachHouse2.asm b/scripts/BeachHouse2.asm
new file mode 100755
index 00000000..1cf570bc
--- /dev/null
+++ b/scripts/BeachHouse2.asm
@@ -0,0 +1,33 @@
+Func_f23d0:
+ call SaveScreenTilesToBuffer2
+ xor a
+ ld [wUpdateSpritesEnabled], a
+ ld hl, wd730
+ set 6, [hl]
+ callfar PrintSurfingMinigameHighScore
+ ld hl, wd730
+ res 6, [hl]
+ call GBPalWhiteOutWithDelay3
+ call ReloadTilesetTilePatterns
+ call RestoreScreenTilesAndReloadTilePatterns
+ call LoadScreenTilesFromBuffer2
+ call Delay3
+ call GBPalNormal
+ ld hl, Text_f2412
+ ldh a, [hOaksAideResult]
+ and a
+ jr nz, .asm_f2406
+ ld hl, Text_f240c
+.asm_f2406
+ call PrintText
+ jp TextScriptEnd
+
+Text_f240c:
+ text_far _BeachHousePrinterText5
+ text_waitbutton
+ text_end
+
+Text_f2412:
+ text_far _BeachHousePrinterText6
+ text_waitbutton
+ text_end