2020-06-18 07:11:12 -07:00
|
|
|
; MainMenuItems indexes
|
|
|
|
const_def
|
|
|
|
const MAINMENU_NEW_GAME ; 0
|
|
|
|
const MAINMENU_CONTINUE ; 1
|
|
|
|
const MAINMENU_MOBILE_MYSTERY ; 2
|
|
|
|
const MAINMENU_MOBILE ; 3
|
|
|
|
const MAINMENU_MOBILE_STUDIUM ; 4
|
|
|
|
const MAINMENU_MYSTERY_MOBILE_STUDIUM ; 5
|
|
|
|
const MAINMENU_MYSTERY ; 6
|
|
|
|
const MAINMENU_MYSTERY_STUDIUM ; 7
|
|
|
|
const MAINMENU_STUDIUM ; 8
|
|
|
|
|
|
|
|
; MainMenu.Strings and MainMenu.Jumptable indexes
|
|
|
|
const_def
|
|
|
|
const MAINMENUITEM_CONTINUE ; 0
|
|
|
|
const MAINMENUITEM_NEW_GAME ; 1
|
|
|
|
const MAINMENUITEM_OPTION ; 2
|
|
|
|
const MAINMENUITEM_MYSTERY_GIFT ; 3
|
|
|
|
const MAINMENUITEM_MOBILE ; 4
|
|
|
|
const MAINMENUITEM_MOBILE_STUDIUM ; 5
|
2020-07-13 10:05:05 -07:00
|
|
|
const MAINMENUITEM_DEBUG_ROOM ; 6
|
2020-06-18 07:11:12 -07:00
|
|
|
|
2020-02-27 11:33:30 -08:00
|
|
|
MobileMenuGFX:
|
|
|
|
INCBIN "gfx/mobile/mobile_menu.2bpp"
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MainMenu:
|
2020-06-18 07:11:12 -07:00
|
|
|
.loop
|
2015-11-16 19:29:54 -08:00
|
|
|
xor a
|
2016-05-05 12:07:37 -07:00
|
|
|
ld [wDisableTextAcceleration], a
|
2020-06-16 08:28:52 -07:00
|
|
|
call ClearTilemapEtc
|
2016-06-06 15:23:00 -07:00
|
|
|
ld b, SCGB_DIPLOMA
|
2015-11-16 19:29:54 -08:00
|
|
|
call GetSGBLayout
|
|
|
|
call SetPalettes
|
2017-12-28 04:15:46 -08:00
|
|
|
ld hl, wGameTimerPause
|
2018-01-23 09:40:29 -08:00
|
|
|
res GAMETIMERPAUSE_TIMER_PAUSED_F, [hl]
|
2015-12-20 09:54:08 -08:00
|
|
|
call MainMenu_GetWhichMenu
|
2015-12-18 17:07:09 -08:00
|
|
|
ld [wWhichIndexSet], a
|
2015-12-20 09:54:08 -08:00
|
|
|
call MainMenu_PrintCurrentTimeAndDay
|
2018-01-23 13:08:43 -08:00
|
|
|
ld hl, .MenuHeader
|
|
|
|
call LoadMenuHeader
|
2015-12-20 09:54:08 -08:00
|
|
|
call MainMenuJoypadLoop
|
2015-12-24 19:58:42 -08:00
|
|
|
call CloseWindow
|
2015-11-16 19:29:54 -08:00
|
|
|
jr c, .quit
|
2020-02-13 09:30:13 -08:00
|
|
|
call ClearTilemap
|
2018-01-23 14:39:09 -08:00
|
|
|
ld a, [wMenuSelection]
|
2015-12-20 09:54:08 -08:00
|
|
|
ld hl, .Jumptable
|
2015-11-16 19:29:54 -08:00
|
|
|
rst JumpTable
|
2020-06-18 07:11:12 -07:00
|
|
|
jr .loop
|
2015-11-16 19:29:54 -08:00
|
|
|
|
|
|
|
.quit
|
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
.MenuHeader:
|
2018-01-14 02:59:56 -08:00
|
|
|
db MENU_BACKUP_TILES ; flags
|
2018-01-13 13:38:14 -08:00
|
|
|
menu_coords 0, 0, 16, 7
|
2018-01-23 13:08:43 -08:00
|
|
|
dw .MenuData
|
2015-11-16 19:29:54 -08:00
|
|
|
db 1 ; default option
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
.MenuData:
|
2018-01-14 02:59:56 -08:00
|
|
|
db STATICMENU_CURSOR ; flags
|
2015-11-16 19:29:54 -08:00
|
|
|
db 0 ; items
|
|
|
|
dw MainMenuItems
|
2015-12-13 11:15:16 -08:00
|
|
|
dw PlaceMenuStrings
|
2015-12-20 09:54:08 -08:00
|
|
|
dw .Strings
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
.Strings:
|
2020-06-18 07:11:12 -07:00
|
|
|
; entries correspond to MAINMENUITEM_* constants
|
2015-11-16 19:29:54 -08:00
|
|
|
db "CONTINUE@"
|
|
|
|
db "NEW GAME@"
|
|
|
|
db "OPTION@"
|
|
|
|
db "MYSTERY GIFT@"
|
|
|
|
db "MOBILE@"
|
|
|
|
db "MOBILE STUDIUM@"
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db "DEBUG ROOM@"
|
|
|
|
endc
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2018-06-24 17:10:37 -07:00
|
|
|
.Jumptable:
|
2020-06-18 07:11:12 -07:00
|
|
|
; entries correspond to MAINMENUITEM_* constants
|
2015-12-26 18:59:03 -08:00
|
|
|
dw MainMenu_Continue
|
|
|
|
dw MainMenu_NewGame
|
2020-06-18 07:11:12 -07:00
|
|
|
dw MainMenu_Option
|
2015-12-26 18:59:03 -08:00
|
|
|
dw MainMenu_MysteryGift
|
|
|
|
dw MainMenu_Mobile
|
|
|
|
dw MainMenu_MobileStudium
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
dw MainMenu_DebugRoom
|
|
|
|
endc
|
2015-11-16 19:29:54 -08:00
|
|
|
|
|
|
|
MainMenuItems:
|
2020-06-18 07:11:12 -07:00
|
|
|
; entries correspond to MAINMENU_* constants
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_NEW_GAME
|
2015-11-16 19:29:54 -08:00
|
|
|
db 2
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_CONTINUE
|
2020-07-13 10:05:05 -07:00
|
|
|
db 3 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_MOBILE_MYSTERY
|
2020-07-13 10:05:05 -07:00
|
|
|
db 5 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
|
|
|
db MAINMENUITEM_MYSTERY_GIFT
|
|
|
|
db MAINMENUITEM_MOBILE
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_MOBILE
|
2020-07-13 10:05:05 -07:00
|
|
|
db 4 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
|
|
|
db MAINMENUITEM_MOBILE
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_MOBILE_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
db 5 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
|
|
|
db MAINMENUITEM_MOBILE
|
|
|
|
db MAINMENUITEM_MOBILE_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_MYSTERY_MOBILE_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
db 6 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
|
|
|
db MAINMENUITEM_MYSTERY_GIFT
|
|
|
|
db MAINMENUITEM_MOBILE
|
|
|
|
db MAINMENUITEM_MOBILE_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_MYSTERY
|
2020-07-13 10:05:05 -07:00
|
|
|
db 4 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
|
|
|
db MAINMENUITEM_MYSTERY_GIFT
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_MYSTERY_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
db 5 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
|
|
|
db MAINMENUITEM_MYSTERY_GIFT
|
|
|
|
db MAINMENUITEM_MOBILE_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
; MAINMENU_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
db 4 + DEF(_DEBUG)
|
2020-06-18 07:11:12 -07:00
|
|
|
db MAINMENUITEM_CONTINUE
|
|
|
|
db MAINMENUITEM_NEW_GAME
|
|
|
|
db MAINMENUITEM_OPTION
|
|
|
|
db MAINMENUITEM_MOBILE_STUDIUM
|
2020-07-13 10:05:05 -07:00
|
|
|
if DEF(_DEBUG)
|
|
|
|
db MAINMENUITEM_DEBUG_ROOM
|
|
|
|
endc
|
2015-12-19 11:48:30 -08:00
|
|
|
db -1
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MainMenu_GetWhichMenu:
|
2015-11-16 19:29:54 -08:00
|
|
|
nop
|
|
|
|
nop
|
|
|
|
nop
|
2015-11-17 20:29:14 -08:00
|
|
|
ld a, [wSaveFileExists]
|
2015-11-16 19:29:54 -08:00
|
|
|
and a
|
|
|
|
jr nz, .next
|
2020-06-18 07:11:12 -07:00
|
|
|
ld a, MAINMENU_NEW_GAME
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
|
|
|
.next
|
2018-08-25 11:28:22 -07:00
|
|
|
ldh a, [hCGB]
|
2020-06-18 07:11:12 -07:00
|
|
|
cp TRUE
|
|
|
|
ld a, MAINMENU_CONTINUE
|
2015-11-16 19:29:54 -08:00
|
|
|
ret nz
|
2015-11-22 21:21:21 -08:00
|
|
|
ld a, BANK(sNumDailyMysteryGiftPartnerIDs)
|
2020-06-17 14:03:38 -07:00
|
|
|
call OpenSRAM
|
2015-11-22 21:21:21 -08:00
|
|
|
ld a, [sNumDailyMysteryGiftPartnerIDs]
|
2020-10-27 10:22:27 -07:00
|
|
|
cp -1 ; locked?
|
2015-11-16 19:29:54 -08:00
|
|
|
call CloseSRAM
|
2015-12-20 09:54:08 -08:00
|
|
|
jr nz, .mystery_gift
|
2018-01-22 12:40:43 -08:00
|
|
|
; This check makes no difference.
|
2017-12-28 04:15:46 -08:00
|
|
|
ld a, [wStatusFlags]
|
2018-02-25 19:23:20 -08:00
|
|
|
bit STATUSFLAGS_MAIN_MENU_MOBILE_CHOICES_F, a
|
2020-06-18 07:11:12 -07:00
|
|
|
ld a, MAINMENU_CONTINUE
|
2015-11-16 19:29:54 -08:00
|
|
|
jr z, .ok
|
|
|
|
jr .ok
|
|
|
|
|
|
|
|
.ok
|
|
|
|
jr .ok2
|
|
|
|
|
|
|
|
.ok2
|
2020-06-18 07:11:12 -07:00
|
|
|
ld a, MAINMENU_CONTINUE
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2015-12-20 09:54:08 -08:00
|
|
|
.mystery_gift
|
2018-01-22 12:40:43 -08:00
|
|
|
; This check makes no difference.
|
2017-12-28 04:15:46 -08:00
|
|
|
ld a, [wStatusFlags]
|
2018-02-25 19:23:20 -08:00
|
|
|
bit STATUSFLAGS_MAIN_MENU_MOBILE_CHOICES_F, a
|
2015-11-16 19:29:54 -08:00
|
|
|
jr z, .ok3
|
|
|
|
jr .ok3
|
|
|
|
|
|
|
|
.ok3
|
|
|
|
jr .ok4
|
|
|
|
|
|
|
|
.ok4
|
2020-06-18 07:11:12 -07:00
|
|
|
ld a, MAINMENU_MYSTERY
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MainMenuJoypadLoop:
|
2015-11-16 19:29:54 -08:00
|
|
|
call SetUpMenu
|
2015-12-20 09:54:08 -08:00
|
|
|
.loop
|
|
|
|
call MainMenu_PrintCurrentTimeAndDay
|
2015-12-19 11:48:30 -08:00
|
|
|
ld a, [w2DMenuFlags1]
|
2015-11-16 19:29:54 -08:00
|
|
|
set 5, a
|
2015-12-19 11:48:30 -08:00
|
|
|
ld [w2DMenuFlags1], a
|
2016-03-01 19:31:21 -08:00
|
|
|
call GetScrollingMenuJoypad
|
2015-12-15 15:59:49 -08:00
|
|
|
ld a, [wMenuJoypad]
|
2015-12-20 09:54:08 -08:00
|
|
|
cp B_BUTTON
|
|
|
|
jr z, .b_button
|
|
|
|
cp A_BUTTON
|
|
|
|
jr z, .a_button
|
|
|
|
jr .loop
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2015-12-20 09:54:08 -08:00
|
|
|
.a_button
|
2015-11-16 19:29:54 -08:00
|
|
|
call PlayClickSFX
|
|
|
|
and a
|
|
|
|
ret
|
|
|
|
|
2015-12-20 09:54:08 -08:00
|
|
|
.b_button
|
2015-11-16 19:29:54 -08:00
|
|
|
scf
|
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MainMenu_PrintCurrentTimeAndDay:
|
2015-11-17 20:29:14 -08:00
|
|
|
ld a, [wSaveFileExists]
|
2015-11-16 19:29:54 -08:00
|
|
|
and a
|
|
|
|
ret z
|
|
|
|
xor a
|
2018-08-25 11:28:22 -07:00
|
|
|
ldh [hBGMapMode], a
|
2015-12-20 09:54:08 -08:00
|
|
|
call .PlaceBox
|
2018-01-23 14:39:09 -08:00
|
|
|
ld hl, wOptions
|
2015-11-16 19:29:54 -08:00
|
|
|
ld a, [hl]
|
|
|
|
push af
|
2015-12-20 09:54:08 -08:00
|
|
|
set NO_TEXT_SCROLL, [hl]
|
|
|
|
call .PlaceTime
|
2015-11-16 19:29:54 -08:00
|
|
|
pop af
|
2018-01-23 14:39:09 -08:00
|
|
|
ld [wOptions], a
|
2015-11-16 19:29:54 -08:00
|
|
|
ld a, $1
|
2018-08-25 11:28:22 -07:00
|
|
|
ldh [hBGMapMode], a
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
.PlaceBox:
|
2015-11-20 08:47:52 -08:00
|
|
|
call CheckRTCStatus
|
2020-06-18 07:11:12 -07:00
|
|
|
and %10000000 ; Day count exceeded 16383
|
2015-12-20 09:54:08 -08:00
|
|
|
jr nz, .TimeFail
|
2015-11-16 19:29:54 -08:00
|
|
|
hlcoord 0, 14
|
2015-12-20 09:54:08 -08:00
|
|
|
ld b, 2
|
|
|
|
ld c, 18
|
2019-04-08 05:15:10 -07:00
|
|
|
call Textbox
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.TimeFail:
|
2019-04-08 05:15:10 -07:00
|
|
|
call SpeechTextbox
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
.PlaceTime:
|
2015-11-17 20:29:14 -08:00
|
|
|
ld a, [wSaveFileExists]
|
2015-11-16 19:29:54 -08:00
|
|
|
and a
|
|
|
|
ret z
|
2015-11-20 08:47:52 -08:00
|
|
|
call CheckRTCStatus
|
2015-11-16 19:29:54 -08:00
|
|
|
and $80
|
2015-12-20 09:54:08 -08:00
|
|
|
jp nz, .PrintTimeNotSet
|
2015-11-16 19:29:54 -08:00
|
|
|
call UpdateTime
|
|
|
|
call GetWeekday
|
|
|
|
ld b, a
|
|
|
|
decoord 1, 15
|
2020-06-18 07:11:12 -07:00
|
|
|
call .PrintDayOfWeek
|
2015-11-16 19:29:54 -08:00
|
|
|
decoord 4, 16
|
2018-08-25 11:28:22 -07:00
|
|
|
ldh a, [hHours]
|
2015-11-16 19:29:54 -08:00
|
|
|
ld c, a
|
2017-12-24 09:47:30 -08:00
|
|
|
farcall PrintHour
|
2015-11-16 19:29:54 -08:00
|
|
|
ld [hl], ":"
|
|
|
|
inc hl
|
|
|
|
ld de, hMinutes
|
|
|
|
lb bc, PRINTNUM_LEADINGZEROS | 1, 2
|
|
|
|
call PrintNum
|
|
|
|
ret
|
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
.minString: ; unreferenced
|
2015-11-16 19:29:54 -08:00
|
|
|
db "min.@"
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
.PrintTimeNotSet:
|
2015-11-16 19:29:54 -08:00
|
|
|
hlcoord 1, 14
|
2020-10-26 12:45:57 -07:00
|
|
|
ld de, .TimeNotSetString
|
2015-11-16 19:29:54 -08:00
|
|
|
call PlaceString
|
|
|
|
ret
|
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
.TimeNotSetString:
|
2015-11-16 19:29:54 -08:00
|
|
|
db "TIME NOT SET@"
|
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
.MainMenuTimeUnknownText: ; unreferenced
|
2019-10-20 15:24:17 -07:00
|
|
|
text_far _MainMenuTimeUnknownText
|
2018-11-17 10:33:03 -08:00
|
|
|
text_end
|
2015-11-16 19:29:54 -08:00
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
.PrintDayOfWeek:
|
2015-11-16 19:29:54 -08:00
|
|
|
push de
|
|
|
|
ld hl, .Days
|
|
|
|
ld a, b
|
|
|
|
call GetNthString
|
|
|
|
ld d, h
|
|
|
|
ld e, l
|
|
|
|
pop hl
|
|
|
|
call PlaceString
|
|
|
|
ld h, b
|
|
|
|
ld l, c
|
|
|
|
ld de, .Day
|
|
|
|
call PlaceString
|
|
|
|
ret
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Days:
|
2015-11-16 19:29:54 -08:00
|
|
|
db "SUN@"
|
|
|
|
db "MON@"
|
|
|
|
db "TUES@"
|
|
|
|
db "WEDNES@"
|
|
|
|
db "THURS@"
|
|
|
|
db "FRI@"
|
|
|
|
db "SATUR@"
|
2016-04-10 11:42:14 -07:00
|
|
|
.Day:
|
2015-11-16 19:29:54 -08:00
|
|
|
db "DAY@"
|
|
|
|
|
2020-06-16 08:28:52 -07:00
|
|
|
ClearTilemapEtc:
|
2015-11-16 19:29:54 -08:00
|
|
|
xor a
|
2018-08-25 11:28:22 -07:00
|
|
|
ldh [hMapAnims], a
|
2020-02-13 09:30:13 -08:00
|
|
|
call ClearTilemap
|
2015-11-16 19:29:54 -08:00
|
|
|
call LoadFontsExtra
|
|
|
|
call LoadStandardFont
|
2015-12-19 11:48:30 -08:00
|
|
|
call ClearWindowData
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MainMenu_NewGame:
|
2017-12-24 09:47:30 -08:00
|
|
|
farcall NewGame
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2020-06-18 07:11:12 -07:00
|
|
|
MainMenu_Option:
|
|
|
|
farcall Option
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MainMenu_Continue:
|
2017-12-24 09:47:30 -08:00
|
|
|
farcall Continue
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
MainMenu_MysteryGift:
|
2017-12-24 09:47:30 -08:00
|
|
|
farcall MysteryGift
|
2015-11-16 19:29:54 -08:00
|
|
|
ret
|