summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-03-26 21:05:06 -0500
committerGitHub <noreply@github.com>2022-03-26 22:05:06 -0400
commitfbaa5c9d4b48c000a52860a8392fc423c4e312f9 (patch)
tree80c5d8b0458ab6a2c2f1995ed0addd1f6cb5570f /scripts
parenta178c57f021692e442febfff4e592a9be8687a33 (diff)
Build the Virtual Console patch with `make yellow_vc` (#80)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/SummerBeachHouse.asm12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/SummerBeachHouse.asm b/scripts/SummerBeachHouse.asm
index 45e8032d..f31c04fe 100644
--- a/scripts/SummerBeachHouse.asm
+++ b/scripts/SummerBeachHouse.asm
@@ -13,7 +13,13 @@ SummerBeachHouse_TextPointers:
SurfinDudeText:
text_asm
ld a, [wd472]
+ vc_patch MiniGame
+IF DEF (_YELLOW_VC)
+ bit 7, a
+ELSE
bit 6, a
+ENDC
+ vc_patch_end
jr nz, .next
ld hl, .SurfinDudeText4
call PrintText
@@ -130,7 +136,13 @@ SummerBeachHouseSign4Text:
ld a, 1
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
ld a, [wd472]
+ vc_patch MiniGameHighScorePC
+IF DEF(_YELLOW_VC)
+ bit 7, a
+ELSE
bit 6, a
+ENDC
+ vc_patch_end
jr z, .asm_f2369
ld hl, wd492