High score table initial data.

This commit is contained in:
Randy Thiemann 2023-11-11 14:44:23 +01:00
parent 5dd4a1de69
commit 91f213c2aa
7 changed files with 438 additions and 427 deletions

Binary file not shown.

View File

@ -422,123 +422,123 @@ ROM0 bank #0:
$30f3 = NextByte $30f3 = NextByte
SECTION: $3113-$325c ($014a bytes) ["Progress Data"] SECTION: $3113-$325c ($014a bytes) ["Progress Data"]
$3113 = sProgressData $3113 = sProgressData
SECTION: $325d-$333c ($00e0 bytes) ["Score Functions"] SECTION: $325d-$339c ($0140 bytes) ["Hi Score Data"]
$325d = ScoreInit $325d = sHiscoreDefaultData
$3285 = IncreaseScore SECTION: $339d-$347c ($00e0 bytes) ["Score Functions"]
$32bd = IncreaseScore.doConvert $339d = ScoreInit
$32bf = !0 $33c5 = IncreaseScore
$32d5 = IncreaseScore.carry $33fd = IncreaseScore.doConvert
$32d7 = IncreaseScore.postConvert $33ff = !0
$32e4 = !1 $3415 = IncreaseScore.carry
$32eb = IncreaseScore.preAddDigit $3417 = IncreaseScore.postConvert
$3313 = IncreaseScore.addDigit $3424 = !1
$3329 = IncreaseScore.nextDigit $342b = IncreaseScore.preAddDigit
SECTION: $333d-$3409 ($00cd bytes) ["Input Functions"] $3453 = IncreaseScore.addDigit
$333d = InputInit $3469 = IncreaseScore.nextDigit
$334f = GetInput SECTION: $347d-$3549 ($00cd bytes) ["Input Functions"]
$334f = GetInput.btns $347d = InputInit
$335c = GetInput.readA $348f = GetInput
$3360 = GetInput.setA $348f = GetInput.btns
$336b = GetInput.clearA $349c = GetInput.readA
$336e = GetInput.readB $34a0 = GetInput.setA
$3372 = GetInput.setB $34ab = GetInput.clearA
$337d = GetInput.clearB $34ae = GetInput.readB
$3380 = GetInput.readSelect $34b2 = GetInput.setB
$3384 = GetInput.setSelect $34bd = GetInput.clearB
$338f = GetInput.clearSelect $34c0 = GetInput.readSelect
$3392 = GetInput.readStart $34c4 = GetInput.setSelect
$3396 = GetInput.setStart $34cf = GetInput.clearSelect
$33a1 = GetInput.clearStart $34d2 = GetInput.readStart
$33a4 = GetInput.dpad $34d6 = GetInput.setStart
$33b1 = GetInput.readUp $34e1 = GetInput.clearStart
$33b5 = GetInput.setUp $34e4 = GetInput.dpad
$33c0 = GetInput.clearUp $34f1 = GetInput.readUp
$33c3 = GetInput.readDown $34f5 = GetInput.setUp
$33c7 = GetInput.setDown $3500 = GetInput.clearUp
$33d2 = GetInput.clearDown $3503 = GetInput.readDown
$33d5 = GetInput.readLeft $3507 = GetInput.setDown
$33d9 = GetInput.setLeft $3512 = GetInput.clearDown
$33e4 = GetInput.clearLeft $3515 = GetInput.readLeft
$33e7 = GetInput.readRight $3519 = GetInput.setLeft
$33eb = GetInput.setRight $3524 = GetInput.clearLeft
$33f6 = GetInput.clearRight $3527 = GetInput.readRight
$33f9 = GetInput.priorities $352b = GetInput.setRight
$3404 = GetInput.zero $3536 = GetInput.clearRight
SECTION: $340a-$34d4 ($00cb bytes) ["Title Function Trampolines"] $3539 = GetInput.priorities
$340a = SwitchToTitle $3544 = GetInput.zero
$3413 = TitleEventLoopHandler SECTION: $354a-$3614 ($00cb bytes) ["Title Function Trampolines"]
$341d = TitleVBlankHandler $354a = SwitchToTitle
$3427 = PersistLevel $3553 = TitleEventLoopHandler
$3435 = DrawSpeedMain $355d = TitleVBlankHandler
$3485 = DrawSpeedSettings $3567 = PersistLevel
SECTION: $34d5-$359a ($00c6 bytes) ["Time Functions"] $3575 = DrawSpeedMain
$34d5 = TimeInit $35c5 = DrawSpeedSettings
$34f5 = StartCountdown SECTION: $3615-$36da ($00c6 bytes) ["Time Functions"]
$3503 = ResetGameTime $3615 = TimeInit
$350e = CheckTorikan $3635 = StartCountdown
$3525 = CheckTorikan.failure $3643 = ResetGameTime
$3527 = CheckTorikan.success $364e = CheckTorikan
$352a = HandleTimers $3665 = CheckTorikan.failure
$3550 = HandleTimers.reduce $3667 = CheckTorikan.success
$355d = HandleTimers.clock $366a = HandleTimers
$3577 = HandleTimers.go $3690 = HandleTimers.reduce
SECTION: $359b-$364c ($00b2 bytes) ["Progress Functions"] $369d = HandleTimers.clock
$359b = SetProgress $36b7 = HandleTimers.go
$35a6 = SetProgress.loop SECTION: $36db-$378c ($00b2 bytes) ["Progress Functions"]
$35aa = SetProgress.correct $36db = SetProgress
$35d1 = SetProgress.wvr_u1 $36e6 = SetProgress.loop
$35dd = SetProgress.wvr_u2 $36ea = SetProgress.correct
$35eb = SetProgress.wvr_u3 $3711 = SetProgress.wvr_u1
$35f7 = SetProgress.wvr_u4 $371d = SetProgress.wvr_u2
$3605 = SetProgress.wvr_u5 $372b = SetProgress.wvr_u3
$3611 = SetProgress.wvr_u6 $3737 = SetProgress.wvr_u4
$361f = SetProgress.wvr_u7 $3745 = SetProgress.wvr_u5
$362b = SetProgress.wvr_u8 $3751 = SetProgress.wvr_u6
$3639 = SetProgress.wvr_u9 $375f = SetProgress.wvr_u7
$3645 = SetProgress.wvr_u10 $376b = SetProgress.wvr_u8
SECTION: $364d-$36de ($0092 bytes) ["Code Entry Point"] $3779 = SetProgress.wvr_u9
$364d = Main $3785 = SetProgress.wvr_u10
$3676 = Main.notgbc SECTION: $378d-$381e ($0092 bytes) ["Code Entry Point"]
$367c = Main.wvr_u1 $378d = Main
$36a3 = EventLoop $37b6 = Main.notgbc
$36b9 = EventLoop.eventloopjumps $37bc = Main.wvr_u1
$36c2 = EventLoopPostHandler $37e3 = EventLoop
$36c4 = EventLoopPostHandler.wvb_u2 $37f9 = EventLoop.eventloopjumps
$36d6 = EventLoopPostHandler.vblankjumps $3802 = EventLoopPostHandler
SECTION: $36df-$3756 ($0078 bytes) ["Hi Score Data"] $3804 = EventLoopPostHandler.wvb_u2
$36df = sHiscoreDefaultData $3816 = EventLoopPostHandler.vblankjumps
SECTION: $3757-$37a8 ($0052 bytes) ["Tile Functions"] SECTION: $381f-$3870 ($0052 bytes) ["Tile Functions"]
$3757 = LoadTitleTiles $381f = LoadTitleTiles
$3775 = LoadGameplayTiles $383d = LoadGameplayTiles
$378b = LoadGameplayTiles.gbc $3853 = LoadGameplayTiles.gbc
$379a = LoadGameplayTiles.dmg $3862 = LoadGameplayTiles.dmg
SECTION: $37a9-$37e4 ($003c bytes) ["Time Data"] SECTION: $3871-$38ac ($003c bytes) ["Time Data"]
$37a9 = sFramesToCS $3871 = sFramesToCS
SECTION: $37e5-$3812 ($002e bytes) ["Memory Functions"] SECTION: $38ad-$38da ($002e bytes) ["Memory Functions"]
$37e5 = UnsafeMemCopy $38ad = UnsafeMemCopy
$37ee = SafeMemCopy.wvr_u1 $38b6 = SafeMemCopy.wvr_u1
$37ee = SafeMemCopy $38b6 = SafeMemCopy
$37fd = UnsafeMemSet $38c5 = UnsafeMemSet
$3805 = SafeMemSet $38cd = SafeMemSet
$3805 = SafeMemSet.wvr_u2 $38cd = SafeMemSet.wvr_u2
SECTION: $3813-$3838 ($0026 bytes) ["Gameplay Function Trampolines"] SECTION: $38db-$3900 ($0026 bytes) ["Gameplay Function Trampolines"]
$3813 = SwitchToGameplay $38db = SwitchToGameplay
$381c = SwitchToGameplayBig $38e4 = SwitchToGameplayBig
$3825 = GamePlayEventLoopHandler $38ed = GamePlayEventLoopHandler
$382f = GamePlayBigEventLoopHandler $38f7 = GamePlayBigEventLoopHandler
SECTION: $3839-$385d ($0025 bytes) ["Interrupt Initialization Functions"] SECTION: $3901-$3925 ($0025 bytes) ["Interrupt Initialization Functions"]
$3839 = EnableScreenSquish $3901 = EnableScreenSquish
$3853 = DisableScreenSquish $391b = DisableScreenSquish
SECTION: $385e-$387f ($0022 bytes) ["OAM Functions"] SECTION: $3926-$3947 ($0022 bytes) ["OAM Functions"]
$385e = CopyOAMHandler $3926 = CopyOAMHandler
$386a = ClearOAM $3932 = ClearOAM
SECTION: $3880-$388e ($000f bytes) ["Banking Functions"] SECTION: $3948-$3956 ($000f bytes) ["Banking Functions"]
$3880 = BankingInit $3948 = BankingInit
SECTION: $388f-$3898 ($000a bytes) ["OAM DMA Code"] SECTION: $3957-$3960 ($000a bytes) ["OAM DMA Code"]
$388f = OAMDMA $3957 = OAMDMA
$3899 = OAMDMAEnd $3961 = OAMDMAEnd
EMPTY: $3899-$3fff ($0767 bytes) EMPTY: $3961-$3fff ($069f bytes)
TOTAL EMPTY: $0770 bytes TOTAL EMPTY: $06a8 bytes
ROMX bank #1: ROMX bank #1:
SECTION: $4000-$4007 ($0008 bytes) ["Bank ID BANK_OTHER"] SECTION: $4000-$4007 ($0008 bytes) ["Bank ID BANK_OTHER"]
@ -2536,7 +2536,7 @@ ROMX bank #6:
TOTAL EMPTY: $1187 bytes TOTAL EMPTY: $1187 bytes
SRAM bank #0: SRAM bank #0:
SECTION: $a000-$a60e ($060f bytes) ["Persistent Globals"] SECTION: $a000-$ab86 ($0b87 bytes) ["Persistent Globals"]
$a000 = rCheck $a000 = rCheck
$a006 = rLastProfile $a006 = rLastProfile
$a007 = rProfileName $a007 = rProfileName
@ -2650,14 +2650,14 @@ SRAM bank #0:
$a290 = rSelectedStartLevel9 $a290 = rSelectedStartLevel9
$a292 = rUnused9 $a292 = rUnused9
$a2c7 = rScoreTableDMGT $a2c7 = rScoreTableDMGT
$a33f = rScoreTableTGM1 $a407 = rScoreTableTGM1
$a3b7 = rScoreTableTGM3 $a547 = rScoreTableTGM3
$a42f = rScoreTableDEAT $a687 = rScoreTableDEAT
$a4a7 = rScoreTableSHIR $a7c7 = rScoreTableSHIR
$a51f = rScoreTableCHIL $a907 = rScoreTableCHIL
$a597 = rScoreTableMYCO $aa47 = rScoreTableMYCO
EMPTY: $a60f-$bfff ($19f1 bytes) EMPTY: $ab87-$bfff ($1479 bytes)
TOTAL EMPTY: $19f1 bytes TOTAL EMPTY: $1479 bytes
WRAM0 bank #0: WRAM0 bank #0:
SECTION: $c000-$c3ff ($0400 bytes) ["GBC Shadow Tilemap"] SECTION: $c000-$c3ff ($0400 bytes) ["GBC Shadow Tilemap"]
@ -2719,96 +2719,96 @@ WRAM0 bank #0:
$cd1f = wRightSlamTimer $cd1f = wRightSlamTimer
$cd20 = wMovementLastFrame $cd20 = wMovementLastFrame
$cd21 = wReturnToSmall $cd21 = wReturnToSmall
SECTION: $cd22-$cda7 ($0086 bytes) ["Hi Score Variables"] SECTION: $cd22-$ce83 ($0162 bytes) ["Hi Score Variables"]
$cd22 = wTargetHSTable $cd22 = wTargetHSTable
$cd24 = wWorkingCopy $cd24 = wWorkingCopy
SECTION: $cda8-$cde8 ($0041 bytes) ["Stack"] SECTION: $ce84-$cec4 ($0041 bytes) ["Stack"]
$cda8 = wStack $ce84 = wStack
$cde9 = wStackEnd $cec5 = wStackEnd
SECTION: $cde9-$ce14 ($002c bytes) ["TGM3 RNG Variables"] SECTION: $cec5-$cef0 ($002c bytes) ["TGM3 RNG Variables"]
$cde9 = wTGM3Bag $cec5 = wTGM3Bag
$ce0c = wTGM3Droughts $cee8 = wTGM3Droughts
$ce13 = wTGM3GeneratedIdx $ceef = wTGM3GeneratedIdx
$ce14 = wTGM3WorstDroughtIdx $cef0 = wTGM3WorstDroughtIdx
SECTION: $ce15-$ce27 ($0013 bytes) ["Level Variables"] SECTION: $cef1-$cf03 ($0013 bytes) ["Level Variables"]
$ce15 = wBoneActivationLevel $cef1 = wBoneActivationLevel
$ce17 = wInvisActivationLevel $cef3 = wInvisActivationLevel
$ce19 = wKillScreenActivationLevel $cef5 = wKillScreenActivationLevel
$ce1b = wKillScreenActivationLevelBCD $cef7 = wKillScreenActivationLevelBCD
$ce1d = wLastLockLevel $cef9 = wLastLockLevel
$ce1f = wStaffRollDuration $cefb = wStaffRollDuration
$ce21 = wBigStaffRoll $cefd = wBigStaffRoll
$ce22 = wBonesActive $cefe = wBonesActive
$ce23 = wInvisActive $ceff = wInvisActive
$ce24 = wKillScreenActive $cf00 = wKillScreenActive
$ce25 = wLockLevel $cf01 = wLockLevel
$ce26 = wShouldGoStaffRoll $cf02 = wShouldGoStaffRoll
$ce27 = wNoMoreLocks $cf03 = wNoMoreLocks
SECTION: $ce28-$ce39 ($0012 bytes) ["Grade Variables"] SECTION: $cf04-$cf15 ($0012 bytes) ["Grade Variables"]
$ce28 = wDecayRate $cf04 = wDecayRate
$ce29 = wGradePoints $cf05 = wGradePoints
$ce2a = wInternalGrade $cf06 = wInternalGrade
$ce2b = wDisplayedGrade $cf07 = wDisplayedGrade
$ce2c = wEffectTimer $cf08 = wEffectTimer
$ce2d = wRankingDisqualified $cf09 = wRankingDisqualified
$ce2e = wDecayCounter $cf0a = wDecayCounter
$ce2f = wGradeGauge $cf0b = wGradeGauge
$ce30 = wSMult $cf0c = wSMult
$ce31 = wDMult $cf0d = wDMult
$ce32 = wTMult $cf0e = wTMult
$ce33 = wSRate $cf0f = wSRate
$ce34 = wDRate $cf10 = wDRate
$ce35 = wTRate $cf11 = wTRate
$ce36 = wQRate $cf12 = wQRate
$ce37 = wTGM1level300RequirementMet $cf13 = wTGM1level300RequirementMet
$ce38 = wTGM1level500RequirementMet $cf14 = wTGM1level500RequirementMet
$ce39 = wTGM1level999RequirementMet $cf15 = wTGM1level999RequirementMet
SECTION: $ce3a-$ce43 ($000a bytes) ["Progress Variables"] SECTION: $cf16-$cf1f ($000a bytes) ["Progress Variables"]
$ce3a = wProgress0B1 $cf16 = wProgress0B1
$ce3b = wProgress0B2 $cf17 = wProgress0B2
$ce3c = wProgress1B1 $cf18 = wProgress1B1
$ce3d = wProgress1B2 $cf19 = wProgress1B2
$ce3e = wProgress2B1 $cf1a = wProgress2B1
$ce3f = wProgress2B2 $cf1b = wProgress2B2
$ce40 = wProgress3B1 $cf1c = wProgress3B1
$ce41 = wProgress3B2 $cf1d = wProgress3B2
$ce42 = wProgress4B1 $cf1e = wProgress4B1
$ce43 = wProgress4B2 $cf1f = wProgress4B2
SECTION: $ce44-$ce4c ($0009 bytes) ["Globals"] SECTION: $cf20-$cf28 ($0009 bytes) ["Globals"]
$ce44 = wSwapABState $cf20 = wSwapABState
$ce45 = wRNGModeState $cf21 = wRNGModeState
$ce46 = wRotModeState $cf22 = wRotModeState
$ce47 = wDropModeState $cf23 = wDropModeState
$ce48 = wSpeedCurveState $cf24 = wSpeedCurveState
$ce49 = wAlways20GState $cf25 = wAlways20GState
$ce4a = wInitialA $cf26 = wInitialA
$ce4b = wInitialB $cf27 = wInitialB
$ce4c = wInitialC $cf28 = wInitialC
SECTION: $ce4d-$ce52 ($0006 bytes) ["Time Variables"] SECTION: $cf29-$cf2e ($0006 bytes) ["Time Variables"]
$ce4d = wMinutes $cf29 = wMinutes
$ce4e = wSeconds $cf2a = wSeconds
$ce4f = wFrames $cf2b = wFrames
$ce50 = wCountDown $cf2c = wCountDown
$ce52 = wCountDownZero $cf2e = wCountDownZero
SECTION: $ce53-$ce57 ($0005 bytes) ["Title Variables"] SECTION: $cf2f-$cf33 ($0005 bytes) ["Title Variables"]
$ce53 = wSelected $cf2f = wSelected
$ce54 = wTitleMode $cf30 = wTitleMode
$ce55 = wProfileName $cf31 = wProfileName
SECTION: $ce58-$ce5b ($0004 bytes) ["Banking Variables"] SECTION: $cf34-$cf37 ($0004 bytes) ["Banking Variables"]
$ce58 = wBankBackup $cf34 = wBankBackup
SECTION: $ce5c-$ce5f ($0004 bytes) ["Gameplay Variables"] SECTION: $cf38-$cf3b ($0004 bytes) ["Gameplay Variables"]
$ce5c = wRollLine $cf38 = wRollLine
$ce5d = wInStaffRoll $cf39 = wInStaffRoll
$ce5e = wBigModeTransfered $cf3a = wBigModeTransfered
$ce5f = wGameOverIgnoreInput $cf3b = wGameOverIgnoreInput
SECTION: $ce60-$ce62 ($0003 bytes) ["GBC Variables"] SECTION: $cf3c-$cf3e ($0003 bytes) ["GBC Variables"]
$ce60 = wOuterReps $cf3c = wOuterReps
$ce61 = wInnerReps $cf3d = wInnerReps
$ce62 = wTitlePal $cf3e = wTitlePal
SECTION: $ce63-$ce63 ($0001 byte) ["SRAM Variables"] SECTION: $cf3f-$cf3f ($0001 byte) ["SRAM Variables"]
$ce63 = wTarget $cf3f = wTarget
EMPTY: $ce64-$cfff ($019c bytes) EMPTY: $cf40-$cfff ($00c0 bytes)
TOTAL EMPTY: $019c bytes TOTAL EMPTY: $00c0 bytes
HRAM bank #0: HRAM bank #0:
SECTION: $ff80-$ff9a ($001b bytes) ["High Field Variables"] SECTION: $ff80-$ff9a ($001b bytes) ["High Field Variables"]
@ -2899,8 +2899,8 @@ HRAM bank #0:
TOTAL EMPTY: $0003 bytes TOTAL EMPTY: $0003 bytes
SUMMARY: SUMMARY:
ROM0: 14480 bytes used / 1904 free ROM0: 14680 bytes used / 1704 free
ROMX: 64126 bytes used / 34178 free in 6 banks ROMX: 64126 bytes used / 34178 free in 6 banks
SRAM: 1551 bytes used / 6641 free in 1 bank SRAM: 2951 bytes used / 5241 free in 1 bank
WRAM0: 3684 bytes used / 412 free WRAM0: 3904 bytes used / 192 free
HRAM: 124 bytes used / 3 free HRAM: 124 bytes used / 3 free

Binary file not shown.

View File

@ -322,104 +322,104 @@
00:30e9 Next7Piece 00:30e9 Next7Piece
00:30f3 NextByte 00:30f3 NextByte
00:3113 sProgressData 00:3113 sProgressData
00:325d ScoreInit 00:325d sHiscoreDefaultData
00:3285 IncreaseScore 00:339d ScoreInit
00:32bd IncreaseScore.doConvert 00:33c5 IncreaseScore
00:32d5 IncreaseScore.carry 00:33fd IncreaseScore.doConvert
00:32d7 IncreaseScore.postConvert 00:3415 IncreaseScore.carry
00:32eb IncreaseScore.preAddDigit 00:3417 IncreaseScore.postConvert
00:3313 IncreaseScore.addDigit 00:342b IncreaseScore.preAddDigit
00:3329 IncreaseScore.nextDigit 00:3453 IncreaseScore.addDigit
00:333d InputInit 00:3469 IncreaseScore.nextDigit
00:334f GetInput 00:347d InputInit
00:334f GetInput.btns 00:348f GetInput
00:335c GetInput.readA 00:348f GetInput.btns
00:3360 GetInput.setA 00:349c GetInput.readA
00:336b GetInput.clearA 00:34a0 GetInput.setA
00:336e GetInput.readB 00:34ab GetInput.clearA
00:3372 GetInput.setB 00:34ae GetInput.readB
00:337d GetInput.clearB 00:34b2 GetInput.setB
00:3380 GetInput.readSelect 00:34bd GetInput.clearB
00:3384 GetInput.setSelect 00:34c0 GetInput.readSelect
00:338f GetInput.clearSelect 00:34c4 GetInput.setSelect
00:3392 GetInput.readStart 00:34cf GetInput.clearSelect
00:3396 GetInput.setStart 00:34d2 GetInput.readStart
00:33a1 GetInput.clearStart 00:34d6 GetInput.setStart
00:33a4 GetInput.dpad 00:34e1 GetInput.clearStart
00:33b1 GetInput.readUp 00:34e4 GetInput.dpad
00:33b5 GetInput.setUp 00:34f1 GetInput.readUp
00:33c0 GetInput.clearUp 00:34f5 GetInput.setUp
00:33c3 GetInput.readDown 00:3500 GetInput.clearUp
00:33c7 GetInput.setDown 00:3503 GetInput.readDown
00:33d2 GetInput.clearDown 00:3507 GetInput.setDown
00:33d5 GetInput.readLeft 00:3512 GetInput.clearDown
00:33d9 GetInput.setLeft 00:3515 GetInput.readLeft
00:33e4 GetInput.clearLeft 00:3519 GetInput.setLeft
00:33e7 GetInput.readRight 00:3524 GetInput.clearLeft
00:33eb GetInput.setRight 00:3527 GetInput.readRight
00:33f6 GetInput.clearRight 00:352b GetInput.setRight
00:33f9 GetInput.priorities 00:3536 GetInput.clearRight
00:3404 GetInput.zero 00:3539 GetInput.priorities
00:340a SwitchToTitle 00:3544 GetInput.zero
00:3413 TitleEventLoopHandler 00:354a SwitchToTitle
00:341d TitleVBlankHandler 00:3553 TitleEventLoopHandler
00:3427 PersistLevel 00:355d TitleVBlankHandler
00:3435 DrawSpeedMain 00:3567 PersistLevel
00:3485 DrawSpeedSettings 00:3575 DrawSpeedMain
00:34d5 TimeInit 00:35c5 DrawSpeedSettings
00:34f5 StartCountdown 00:3615 TimeInit
00:3503 ResetGameTime 00:3635 StartCountdown
00:350e CheckTorikan 00:3643 ResetGameTime
00:3525 CheckTorikan.failure 00:364e CheckTorikan
00:3527 CheckTorikan.success 00:3665 CheckTorikan.failure
00:352a HandleTimers 00:3667 CheckTorikan.success
00:3550 HandleTimers.reduce 00:366a HandleTimers
00:355d HandleTimers.clock 00:3690 HandleTimers.reduce
00:3577 HandleTimers.go 00:369d HandleTimers.clock
00:359b SetProgress 00:36b7 HandleTimers.go
00:35a6 SetProgress.loop 00:36db SetProgress
00:35aa SetProgress.correct 00:36e6 SetProgress.loop
00:35d1 SetProgress.wvr_u1 00:36ea SetProgress.correct
00:35dd SetProgress.wvr_u2 00:3711 SetProgress.wvr_u1
00:35eb SetProgress.wvr_u3 00:371d SetProgress.wvr_u2
00:35f7 SetProgress.wvr_u4 00:372b SetProgress.wvr_u3
00:3605 SetProgress.wvr_u5 00:3737 SetProgress.wvr_u4
00:3611 SetProgress.wvr_u6 00:3745 SetProgress.wvr_u5
00:361f SetProgress.wvr_u7 00:3751 SetProgress.wvr_u6
00:362b SetProgress.wvr_u8 00:375f SetProgress.wvr_u7
00:3639 SetProgress.wvr_u9 00:376b SetProgress.wvr_u8
00:3645 SetProgress.wvr_u10 00:3779 SetProgress.wvr_u9
00:364d Main 00:3785 SetProgress.wvr_u10
00:3676 Main.notgbc 00:378d Main
00:367c Main.wvr_u1 00:37b6 Main.notgbc
00:36a3 EventLoop 00:37bc Main.wvr_u1
00:36b9 EventLoop.eventloopjumps 00:37e3 EventLoop
00:36c2 EventLoopPostHandler 00:37f9 EventLoop.eventloopjumps
00:36c4 EventLoopPostHandler.wvb_u2 00:3802 EventLoopPostHandler
00:36d6 EventLoopPostHandler.vblankjumps 00:3804 EventLoopPostHandler.wvb_u2
00:36df sHiscoreDefaultData 00:3816 EventLoopPostHandler.vblankjumps
00:3757 LoadTitleTiles 00:381f LoadTitleTiles
00:3775 LoadGameplayTiles 00:383d LoadGameplayTiles
00:378b LoadGameplayTiles.gbc 00:3853 LoadGameplayTiles.gbc
00:379a LoadGameplayTiles.dmg 00:3862 LoadGameplayTiles.dmg
00:37a9 sFramesToCS 00:3871 sFramesToCS
00:37e5 UnsafeMemCopy 00:38ad UnsafeMemCopy
00:37ee SafeMemCopy.wvr_u1 00:38b6 SafeMemCopy.wvr_u1
00:37ee SafeMemCopy 00:38b6 SafeMemCopy
00:37fd UnsafeMemSet 00:38c5 UnsafeMemSet
00:3805 SafeMemSet 00:38cd SafeMemSet
00:3805 SafeMemSet.wvr_u2 00:38cd SafeMemSet.wvr_u2
00:3813 SwitchToGameplay 00:38db SwitchToGameplay
00:381c SwitchToGameplayBig 00:38e4 SwitchToGameplayBig
00:3825 GamePlayEventLoopHandler 00:38ed GamePlayEventLoopHandler
00:382f GamePlayBigEventLoopHandler 00:38f7 GamePlayBigEventLoopHandler
00:3839 EnableScreenSquish 00:3901 EnableScreenSquish
00:3853 DisableScreenSquish 00:391b DisableScreenSquish
00:385e CopyOAMHandler 00:3926 CopyOAMHandler
00:386a ClearOAM 00:3932 ClearOAM
00:3880 BankingInit 00:3948 BankingInit
00:388f OAMDMA 00:3957 OAMDMA
00:3899 OAMDMAEnd 00:3961 OAMDMAEnd
01:4008 sDMGTSpeedCurve 01:4008 sDMGTSpeedCurve
01:4203 sDMGTSpeedCurveEnd 01:4203 sDMGTSpeedCurveEnd
01:4205 sDMGTSpeedCurveSpecialData 01:4205 sDMGTSpeedCurveSpecialData
@ -2331,12 +2331,12 @@
00:a290 rSelectedStartLevel9 00:a290 rSelectedStartLevel9
00:a292 rUnused9 00:a292 rUnused9
00:a2c7 rScoreTableDMGT 00:a2c7 rScoreTableDMGT
00:a33f rScoreTableTGM1 00:a407 rScoreTableTGM1
00:a3b7 rScoreTableTGM3 00:a547 rScoreTableTGM3
00:a42f rScoreTableDEAT 00:a687 rScoreTableDEAT
00:a4a7 rScoreTableSHIR 00:a7c7 rScoreTableSHIR
00:a51f rScoreTableCHIL 00:a907 rScoreTableCHIL
00:a597 rScoreTableMYCO 00:aa47 rScoreTableMYCO
00:c000 wShadowTilemap 00:c000 wShadowTilemap
00:c400 wShadowTileAttrs 00:c400 wShadowTileAttrs
00:c800 wShadowOAM 00:c800 wShadowOAM
@ -2394,79 +2394,79 @@
00:cd21 wReturnToSmall 00:cd21 wReturnToSmall
00:cd22 wTargetHSTable 00:cd22 wTargetHSTable
00:cd24 wWorkingCopy 00:cd24 wWorkingCopy
00:cda8 wStack 00:ce84 wStack
00:cde9 wStackEnd 00:cec5 wStackEnd
00:cde9 wTGM3Bag 00:cec5 wTGM3Bag
00:ce0c wTGM3Droughts 00:cee8 wTGM3Droughts
00:ce13 wTGM3GeneratedIdx 00:ceef wTGM3GeneratedIdx
00:ce14 wTGM3WorstDroughtIdx 00:cef0 wTGM3WorstDroughtIdx
00:ce15 wBoneActivationLevel 00:cef1 wBoneActivationLevel
00:ce17 wInvisActivationLevel 00:cef3 wInvisActivationLevel
00:ce19 wKillScreenActivationLevel 00:cef5 wKillScreenActivationLevel
00:ce1b wKillScreenActivationLevelBCD 00:cef7 wKillScreenActivationLevelBCD
00:ce1d wLastLockLevel 00:cef9 wLastLockLevel
00:ce1f wStaffRollDuration 00:cefb wStaffRollDuration
00:ce21 wBigStaffRoll 00:cefd wBigStaffRoll
00:ce22 wBonesActive 00:cefe wBonesActive
00:ce23 wInvisActive 00:ceff wInvisActive
00:ce24 wKillScreenActive 00:cf00 wKillScreenActive
00:ce25 wLockLevel 00:cf01 wLockLevel
00:ce26 wShouldGoStaffRoll 00:cf02 wShouldGoStaffRoll
00:ce27 wNoMoreLocks 00:cf03 wNoMoreLocks
00:ce28 wDecayRate 00:cf04 wDecayRate
00:ce29 wGradePoints 00:cf05 wGradePoints
00:ce2a wInternalGrade 00:cf06 wInternalGrade
00:ce2b wDisplayedGrade 00:cf07 wDisplayedGrade
00:ce2c wEffectTimer 00:cf08 wEffectTimer
00:ce2d wRankingDisqualified 00:cf09 wRankingDisqualified
00:ce2e wDecayCounter 00:cf0a wDecayCounter
00:ce2f wGradeGauge 00:cf0b wGradeGauge
00:ce30 wSMult 00:cf0c wSMult
00:ce31 wDMult 00:cf0d wDMult
00:ce32 wTMult 00:cf0e wTMult
00:ce33 wSRate 00:cf0f wSRate
00:ce34 wDRate 00:cf10 wDRate
00:ce35 wTRate 00:cf11 wTRate
00:ce36 wQRate 00:cf12 wQRate
00:ce37 wTGM1level300RequirementMet 00:cf13 wTGM1level300RequirementMet
00:ce38 wTGM1level500RequirementMet 00:cf14 wTGM1level500RequirementMet
00:ce39 wTGM1level999RequirementMet 00:cf15 wTGM1level999RequirementMet
00:ce3a wProgress0B1 00:cf16 wProgress0B1
00:ce3b wProgress0B2 00:cf17 wProgress0B2
00:ce3c wProgress1B1 00:cf18 wProgress1B1
00:ce3d wProgress1B2 00:cf19 wProgress1B2
00:ce3e wProgress2B1 00:cf1a wProgress2B1
00:ce3f wProgress2B2 00:cf1b wProgress2B2
00:ce40 wProgress3B1 00:cf1c wProgress3B1
00:ce41 wProgress3B2 00:cf1d wProgress3B2
00:ce42 wProgress4B1 00:cf1e wProgress4B1
00:ce43 wProgress4B2 00:cf1f wProgress4B2
00:ce44 wSwapABState 00:cf20 wSwapABState
00:ce45 wRNGModeState 00:cf21 wRNGModeState
00:ce46 wRotModeState 00:cf22 wRotModeState
00:ce47 wDropModeState 00:cf23 wDropModeState
00:ce48 wSpeedCurveState 00:cf24 wSpeedCurveState
00:ce49 wAlways20GState 00:cf25 wAlways20GState
00:ce4a wInitialA 00:cf26 wInitialA
00:ce4b wInitialB 00:cf27 wInitialB
00:ce4c wInitialC 00:cf28 wInitialC
00:ce4d wMinutes 00:cf29 wMinutes
00:ce4e wSeconds 00:cf2a wSeconds
00:ce4f wFrames 00:cf2b wFrames
00:ce50 wCountDown 00:cf2c wCountDown
00:ce52 wCountDownZero 00:cf2e wCountDownZero
00:ce53 wSelected 00:cf2f wSelected
00:ce54 wTitleMode 00:cf30 wTitleMode
00:ce55 wProfileName 00:cf31 wProfileName
00:ce58 wBankBackup 00:cf34 wBankBackup
00:ce5c wRollLine 00:cf38 wRollLine
00:ce5d wInStaffRoll 00:cf39 wInStaffRoll
00:ce5e wBigModeTransfered 00:cf3a wBigModeTransfered
00:ce5f wGameOverIgnoreInput 00:cf3b wGameOverIgnoreInput
00:ce60 wOuterReps 00:cf3c wOuterReps
00:ce61 wInnerReps 00:cf3d wInnerReps
00:ce62 wTitlePal 00:cf3e wTitlePal
00:ce63 wTarget 00:cf3f wTarget
00:ff80 hPieceDataBase 00:ff80 hPieceDataBase
00:ff82 hPieceDataBaseFast 00:ff82 hPieceDataBaseFast
00:ff84 hPieceDataOffset 00:ff84 hPieceDataOffset

View File

@ -24,21 +24,31 @@ INCLUDE "globals.asm"
SECTION "Hi Score Data", ROM0 SECTION "Hi Score Data", ROM0
sHiscoreDefaultData:: sHiscoreDefaultData::
db 0, 0, 0, 0, 0, 0, 0, 0, "DMG", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, "DMG", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, "TRI", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "SDM", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, "TRI", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, "GTR", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "ISD", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, "SDM", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, "MGT", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "RIS", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, "GTR", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, "DMG", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "TRI", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, "ISD", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, "SDM", GRADE_NONE db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "MGT", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "RIS", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "DMG", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "TRI", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
db 0, 0, 0, 0, 0, 0, 0, 0, "SDM", GRADE_NONE, RNG_MODE_TGM3, ROT_MODE_ARSTI, DROP_MODE_FIRM, HIG_MODE_OFF
db 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
SECTION "Hi Score Variables", WRAM0 SECTION "Hi Score Variables", WRAM0
wTargetHSTable:: ds 2 wTargetHSTable:: ds 2
wWorkingCopy:: ds (11*(8+3+1)) wWorkingCopy:: ds ((HISCORE_ENTRY_COUNT+1)*(HISCORE_ENTRY_SIZE))
SECTION "Hi Score Functions", ROM0 SECTION "Hi Score Functions", ROM0

View File

@ -443,7 +443,6 @@ DEF TITLE_SETTINGS_START EQU $990F
DEF TITLE_SETTINGS_TETRY EQU $99C0 DEF TITLE_SETTINGS_TETRY EQU $99C0
DEF TITLE_SETTINGS_SEL_BACK EQU 7 DEF TITLE_SETTINGS_SEL_BACK EQU 7
DEF TITLE_PROFILE_OPTION_BASE EQU $9842 DEF TITLE_PROFILE_OPTION_BASE EQU $9842
DEF TITLE_PROFILE_OPTIONS EQU 6 DEF TITLE_PROFILE_OPTIONS EQU 6
DEF TITLE_PROFILE_INDEX EQU $984F DEF TITLE_PROFILE_INDEX EQU $984F
@ -453,8 +452,10 @@ DEF TITLE_PROFILE_NAME_2 EQU $98AF
DEF TITLE_PROFILE_SEL_RESET EQU 4 DEF TITLE_PROFILE_SEL_RESET EQU 4
DEF TITLE_PROFILE_SEL_BACK EQU 5 DEF TITLE_PROFILE_SEL_BACK EQU 5
DEF PROFILE_SIZE EQU 64
DEF PROFILE_COUNT EQU 10 DEF PROFILE_COUNT EQU 10
DEF HISCORE_ENTRY_SIZE EQU 32
DEF HISCORE_ENTRY_COUNT EQU 10
DEF HISCORE_TABLE_COUNT EQU 7
ENDC ENDC

View File

@ -43,7 +43,7 @@ SECTION "Persistent Globals", SRAM
rCheck:: ds 6 rCheck:: ds 6
rLastProfile:: ds 1 rLastProfile:: ds 1
UNION UNION
rProfileData:: ds 64 rProfileData:: ds PROFILE_SIZE
NEXTU NEXTU
rProfileName:: ds 3 rProfileName:: ds 3
rSwapABState:: ds 1 rSwapABState:: ds 1
@ -53,7 +53,7 @@ rDropModeState:: ds 1
rSpeedCurveState:: ds 1 rSpeedCurveState:: ds 1
rAlways20GState:: ds 1 rAlways20GState:: ds 1
rSelectedStartLevel:: ds 2 rSelectedStartLevel:: ds 2
rUnused:: ds (64-11) rUnused:: ds (PROFILE_SIZE - 11) ; 11 = sum of the above
ENDU ENDU
PROFILE 0 PROFILE 0
PROFILE 1 PROFILE 1
@ -65,13 +65,13 @@ ENDU
PROFILE 7 PROFILE 7
PROFILE 8 PROFILE 8
PROFILE 9 PROFILE 9
rScoreTableDMGT:: ds (10 * (8+3+1)) rScoreTableDMGT:: ds (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
rScoreTableTGM1:: ds (10 * (8+3+1)) rScoreTableTGM1:: ds (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
rScoreTableTGM3:: ds (10 * (8+3+1)) rScoreTableTGM3:: ds (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
rScoreTableDEAT:: ds (10 * (8+3+1)) rScoreTableDEAT:: ds (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
rScoreTableSHIR:: ds (10 * (8+3+1)) rScoreTableSHIR:: ds (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
rScoreTableCHIL:: ds (10 * (8+3+1)) rScoreTableCHIL:: ds (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
rScoreTableMYCO:: ds (10 * (8+3+1)) rScoreTableMYCO:: ds (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
SECTION "SRAM Variables", WRAM0 SECTION "SRAM Variables", WRAM0
@ -98,7 +98,7 @@ RestoreSRAM::
cp a, 0 cp a, 0
jp nz, InitializeSRAM jp nz, InitializeSRAM
ld a, [rCheck+5] ld a, [rCheck+5]
cp a, 2 cp a, 3
jp nz, InitializeSRAM jp nz, InitializeSRAM
; SRAM is initialized and for this build, so we can load the data. ; SRAM is initialized and for this build, so we can load the data.
@ -228,7 +228,7 @@ InitializeSRAM:
ld [rCheck+3], a ld [rCheck+3], a
ld a, 0 ld a, 0
ld [rCheck+4], a ld [rCheck+4], a
ld a, 2 ld a, 3
ld [rCheck+5], a ld [rCheck+5], a
xor a, a xor a, a
@ -343,31 +343,31 @@ InitializeSRAM:
; Set the default scores. ; Set the default scores.
ld hl, rScoreTableDMGT ld hl, rScoreTableDMGT
ld de, sHiscoreDefaultData ld de, sHiscoreDefaultData
ld bc, (10 * (8+3+1)) ld bc, (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
call UnsafeMemCopy call UnsafeMemCopy
ld hl, rScoreTableTGM1 ld hl, rScoreTableTGM1
ld de, sHiscoreDefaultData ld de, sHiscoreDefaultData
ld bc, (10 * (8+3+1)) ld bc, (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
call UnsafeMemCopy call UnsafeMemCopy
ld hl, rScoreTableTGM3 ld hl, rScoreTableTGM3
ld de, sHiscoreDefaultData ld de, sHiscoreDefaultData
ld bc, (10 * (8+3+1)) ld bc, (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
call UnsafeMemCopy call UnsafeMemCopy
ld hl, rScoreTableDEAT ld hl, rScoreTableDEAT
ld de, sHiscoreDefaultData ld de, sHiscoreDefaultData
ld bc, (10 * (8+3+1)) ld bc, (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
call UnsafeMemCopy call UnsafeMemCopy
ld hl, rScoreTableSHIR ld hl, rScoreTableSHIR
ld de, sHiscoreDefaultData ld de, sHiscoreDefaultData
ld bc, (10 * (8+3+1)) ld bc, (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
call UnsafeMemCopy call UnsafeMemCopy
ld hl, rScoreTableCHIL ld hl, rScoreTableCHIL
ld de, sHiscoreDefaultData ld de, sHiscoreDefaultData
ld bc, (10 * (8+3+1)) ld bc, (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
call UnsafeMemCopy call UnsafeMemCopy
ld hl, rScoreTableMYCO ld hl, rScoreTableMYCO
ld de, sHiscoreDefaultData ld de, sHiscoreDefaultData
ld bc, (10 * (8+3+1)) ld bc, (HISCORE_ENTRY_COUNT * HISCORE_ENTRY_SIZE)
jp UnsafeMemCopy jp UnsafeMemCopy
NextProfile:: NextProfile::