summaryrefslogtreecommitdiff
path: root/scripts/SummerBeachHouse2.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-11-04 20:11:52 -0500
committerGitHub <noreply@github.com>2020-11-04 20:11:52 -0500
commited03fc4f4a3287a01647e528abba27aac1937de0 (patch)
tree32fef70a31af3a0b5ad2b0d34042c312574fb42d /scripts/SummerBeachHouse2.asm
parent87131eaa1ba5dc898e64c7415b5bce61c6aa146d (diff)
parentaae999f72bd81a3156c7e00da4ebf499f52da5a6 (diff)
Merge pull request #59 from Rangi42/master
Start reorganizing pokeyellow
Diffstat (limited to 'scripts/SummerBeachHouse2.asm')
-rwxr-xr-xscripts/SummerBeachHouse2.asm33
1 files changed, 33 insertions, 0 deletions
diff --git a/scripts/SummerBeachHouse2.asm b/scripts/SummerBeachHouse2.asm
new file mode 100755
index 00000000..4ac1f705
--- /dev/null
+++ b/scripts/SummerBeachHouse2.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 _SummerBeachHousePrinterText5
+ text_waitbutton
+ text_end
+
+Text_f2412:
+ text_far _SummerBeachHousePrinterText6
+ text_waitbutton
+ text_end