mirror of
https://github.com/pret/pokeyellow.git
synced 2026-11-07 11:34:54 -06:00
34 lines
799 B
NASM
34 lines
799 B
NASM
SummerBeachHousePrintHighScoreScript:
|
|
call SaveScreenTilesToBuffer2
|
|
xor a
|
|
ld [wUpdateSpritesEnabled], a
|
|
ld hl, wStatusFlags5
|
|
set BIT_NO_TEXT_DELAY, [hl]
|
|
callfar PrintSurfingMinigameHighScore
|
|
ld hl, wStatusFlags5
|
|
res BIT_NO_TEXT_DELAY, [hl]
|
|
call GBPalWhiteOutWithDelay3
|
|
call ReloadTilesetTilePatterns
|
|
call RestoreScreenTilesAndReloadTilePatterns
|
|
call LoadScreenTilesFromBuffer2
|
|
call Delay3
|
|
call GBPalNormal
|
|
ld hl, SummerBeachHousePrinterText6
|
|
ldh a, [hCanceledPrinting]
|
|
and a
|
|
jr nz, .print_canceled
|
|
ld hl, SummerBeachHousePrinterText5
|
|
.print_canceled
|
|
call PrintText
|
|
jp TextScriptEnd
|
|
|
|
SummerBeachHousePrinterText5:
|
|
text_far _SummerBeachHousePrinterText5
|
|
text_waitbutton
|
|
text_end
|
|
|
|
SummerBeachHousePrinterText6:
|
|
text_far _SummerBeachHousePrinterText6
|
|
text_waitbutton
|
|
text_end
|