Fix color regression.

This commit is contained in:
Randy Thiemann 2023-11-24 00:32:55 +01:00
parent 08b2f07024
commit 9cf93cb4c3
5 changed files with 928 additions and 971 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -9,6 +9,7 @@
00:009f LoadGameplayTiles.gbc 00:009f LoadGameplayTiles.gbc
00:00ae LoadGameplayTiles.dmg 00:00ae LoadGameplayTiles.dmg
00:00bd sFramesToCS 00:00bd sFramesToCS
00:00f9 sModeColors
00:0150 ToATTR 00:0150 ToATTR
00:0172 GBCTitleInit 00:0172 GBCTitleInit
00:0353 GBCTitleInit.agb 00:0353 GBCTitleInit.agb
@ -16,402 +17,401 @@
00:0557 GBCGameplayInit 00:0557 GBCGameplayInit
00:0892 GBCGameplayInit.agb 00:0892 GBCGameplayInit.agb
00:0bbc GBCGameplayInit.postpalettes 00:0bbc GBCGameplayInit.postpalettes
00:0d02 GBCGameplayInit.skip 00:0be7 GBCTitleProcess
00:0d2d GBCTitleProcess 00:0c03 GBCTitleProcess.jumps
00:0d49 GBCTitleProcess.jumps 00:0c12 GBCTitleProcess.eventLoopMain
00:0d58 GBCTitleProcess.eventLoopMain 00:0c34 GBCTitleProcess.eventLoopProfile
00:0d7a GBCTitleProcess.eventLoopProfile 00:0c4a GBCTitleProcess.eventLoopSettings
00:0d90 GBCTitleProcess.eventLoopSettings 00:0c60 GBCGameplayProcess
00:0da6 GBCGameplayProcess 00:0c71 GBCGameplayProcess.goverride
00:0de2 GBCGameplayProcess.goverride 00:0c96 GBCGameplayProcess.colorfield
00:0e07 GBCGameplayProcess.colorfield 00:0e0a GBCGameplayProcess.outer1
00:0f7b GBCGameplayProcess.outer1 00:0e0f GBCGameplayProcess.inner1
00:0f80 GBCGameplayProcess.inner1 00:0e33 GBCGameplayProcess.outer2
00:0fa4 GBCGameplayProcess.outer2 00:0e38 GBCGameplayProcess.inner2
00:0fa9 GBCGameplayProcess.inner2 00:0e5d GBCGameplayProcess.empty
00:0fce GBCGameplayProcess.empty 00:0e61 GBCGameplayProcess.sub59
00:0fd2 GBCGameplayProcess.sub59 00:0e63 GBCGameplayProcess.sub52
00:0fd4 GBCGameplayProcess.sub52 00:0e65 GBCGameplayProcess.sub45
00:0fd6 GBCGameplayProcess.sub45 00:0e67 GBCGameplayProcess.sub38
00:0fd8 GBCGameplayProcess.sub38 00:0e69 GBCGameplayProcess.sub31
00:0fda GBCGameplayProcess.sub31 00:0e6b GBCGameplayProcess.sub24
00:0fdc GBCGameplayProcess.sub24 00:0e6d GBCGameplayProcess.sub17
00:0fde GBCGameplayProcess.sub17 00:0e6f GBCGameplayProcess.sub10
00:0fe0 GBCGameplayProcess.sub10 00:0e71 GBCGameplayProcess.done
00:0fe2 GBCGameplayProcess.done 00:0e93 GBCGameplayProcess.darker
00:1004 GBCGameplayProcess.darker 00:0e9a GBCGameplayProcess.wvr_u1
00:100b GBCGameplayProcess.wvr_u1 00:0ea7 GBCGameplayProcess.lighter
00:1018 GBCGameplayProcess.lighter 00:0eae GBCGameplayProcess.wvr_u2
00:101f GBCGameplayProcess.wvr_u2 00:0ebb GBCGameplayProcess.black
00:102c GBCGameplayProcess.black 00:0ec9 GBCGameplayProcess.wvr_u3
00:103a GBCGameplayProcess.wvr_u3 00:0ed6 GBCGameplayProcess.white
00:1047 GBCGameplayProcess.white 00:0edd GBCGameplayProcess.wvr_u4
00:104e GBCGameplayProcess.wvr_u4 00:0eea GBCBigGameplayProcess
00:105b GBCBigGameplayProcess 00:0efb GBCBigGameplayProcess.goverride
00:1097 GBCBigGameplayProcess.goverride 00:0f20 GBCBigGameplayProcess.colorfield
00:10bc GBCBigGameplayProcess.colorfield 00:1094 GBCBigGameplayProcess.outer1
00:1230 GBCBigGameplayProcess.outer1 00:1099 GBCBigGameplayProcess.inner1
00:1235 GBCBigGameplayProcess.inner1 00:10bd GBCBigGameplayProcess.outer2
00:1259 GBCBigGameplayProcess.outer2 00:10c2 GBCBigGameplayProcess.inner2
00:125e GBCBigGameplayProcess.inner2 00:10e7 GBCBigGameplayProcess.empty
00:1283 GBCBigGameplayProcess.empty 00:10eb GBCBigGameplayProcess.sub59
00:1287 GBCBigGameplayProcess.sub59 00:10ed GBCBigGameplayProcess.sub52
00:1289 GBCBigGameplayProcess.sub52 00:10ef GBCBigGameplayProcess.sub45
00:128b GBCBigGameplayProcess.sub45 00:10f1 GBCBigGameplayProcess.sub38
00:128d GBCBigGameplayProcess.sub38 00:10f3 GBCBigGameplayProcess.sub31
00:128f GBCBigGameplayProcess.sub31 00:10f5 GBCBigGameplayProcess.sub24
00:1291 GBCBigGameplayProcess.sub24 00:10f7 GBCBigGameplayProcess.sub17
00:1293 GBCBigGameplayProcess.sub17 00:10f9 GBCBigGameplayProcess.sub10
00:1295 GBCBigGameplayProcess.sub10 00:10fb GBCBigGameplayProcess.done
00:1297 GBCBigGameplayProcess.done 00:111d GBCBigGameplayProcess.darker
00:12b9 GBCBigGameplayProcess.darker 00:1124 GBCBigGameplayProcess.wvr_u5
00:12c0 GBCBigGameplayProcess.wvr_u5 00:1131 GBCBigGameplayProcess.lighter
00:12cd GBCBigGameplayProcess.lighter 00:1138 GBCBigGameplayProcess.wvr_u6
00:12d4 GBCBigGameplayProcess.wvr_u6 00:1145 GBCBigGameplayProcess.black
00:12e1 GBCBigGameplayProcess.black 00:1153 GBCBigGameplayProcess.wvr_u7
00:12ef GBCBigGameplayProcess.wvr_u7 00:1160 GBCBigGameplayProcess.white
00:12fc GBCBigGameplayProcess.white 00:1167 GBCBigGameplayProcess.wvr_u8
00:1303 GBCBigGameplayProcess.wvr_u8 00:1174 ToVRAM
00:1310 ToVRAM 00:1174 GBCBlitField
00:1310 GBCBlitField 00:11a6 BlitField
00:1342 BlitField 00:1369 BlitField.waitendvbloop
00:1505 BlitField.waitendvbloop 00:1593 BigBlitField
00:172f BigBlitField 00:1756 BigBlitField.waitendvbloop
00:18f2 BigBlitField.waitendvbloop 00:1980 SetPal
00:1b1c SetPal 00:198d SetPal.darker
00:1b29 SetPal.darker 00:1993 SetPal.lighter
00:1b2f SetPal.lighter 00:1999 ApplyTells
00:1b35 ApplyTells 00:1999 SetPal.setpal
00:1b35 SetPal.setpal 00:19d7 ApplyTells.myco
00:1b73 ApplyTells.myco 00:19dc ApplyTells.dropmode
00:1b78 ApplyTells.dropmode 00:1a00 ApplyNext
00:1b9c ApplyNext 00:1a08 ApplyNext.bone
00:1ba4 ApplyNext.bone 00:1a27 ApplyNext.nobone
00:1bc3 ApplyNext.nobone 00:1a48 ApplyNext.pos
00:1be4 ApplyNext.pos 00:1a58 ApplyNext.regular
00:1bf4 ApplyNext.regular 00:1a5e ApplyNext.postoffsets
00:1bfa ApplyNext.postoffsets 00:1a61 ApplyNext.getoffn
00:1bfd ApplyNext.getoffn 00:1a6c ApplyNext.skipoffn
00:1c08 ApplyNext.skipoffn 00:1b08 ApplyNext.done
00:1ca4 ApplyNext.done 00:1b0b ApplyHold
00:1ca7 ApplyHold 00:1b13 ApplyHold.bone
00:1caf ApplyHold.bone 00:1b32 ApplyHold.nobone
00:1cce ApplyHold.nobone 00:1b4e ApplyHold.hide
00:1cea ApplyHold.hide 00:1b60 ApplyHold.show
00:1cfc ApplyHold.show 00:1b70 ApplyHold.x
00:1d0c ApplyHold.x 00:1b80 ApplyHold.regular
00:1d1c ApplyHold.regular 00:1b86 ApplyHold.postoffsets
00:1d22 ApplyHold.postoffsets 00:1b89 ApplyHold.getoffh
00:1d25 ApplyHold.getoffh 00:1b94 ApplyHold.skipoffh
00:1d30 ApplyHold.skipoffh 00:1bce ApplyTime
00:1d6a ApplyTime 00:1c1f ApplyTime.loop0
00:1dbb ApplyTime.loop0 00:1c4e ApplyTime.loop1
00:1dea ApplyTime.loop1 00:1ca3 ApplyNumbers8
00:1e3f ApplyNumbers8 00:1d05 ApplyNumbers8.one
00:1ea1 ApplyNumbers8.one 00:1d0f ApplyNumbers8.two
00:1eab ApplyNumbers8.two 00:1d19 ApplyNumbers8.three
00:1eb5 ApplyNumbers8.three 00:1d23 ApplyNumbers8.four
00:1ebf ApplyNumbers8.four 00:1d2d ApplyNumbers8.five
00:1ec9 ApplyNumbers8.five 00:1d37 ApplyNumbers8.six
00:1ed3 ApplyNumbers8.six 00:1d41 ApplyNumbers8.seven
00:1edd ApplyNumbers8.seven 00:1d4b ApplyNumbers8.eight
00:1ee7 ApplyNumbers8.eight 00:1d54 ApplyNumbers4
00:1ef0 ApplyNumbers4 00:1d82 ApplyNumbers4.one
00:1f1e ApplyNumbers4.one 00:1d8c ApplyNumbers4.two
00:1f28 ApplyNumbers4.two 00:1d96 ApplyNumbers4.three
00:1f32 ApplyNumbers4.three 00:1da0 ApplyNumbers4.four
00:1f3c ApplyNumbers4.four 00:1da9 SetNumberSpritePositions
00:1f45 SetNumberSpritePositions 00:1ec0 GradeRendering
00:205c GradeRendering 00:1ef3 GradeRendering.effect
00:208f GradeRendering.effect 00:1f03 GradeRendering.noeffect
00:209f GradeRendering.noeffect 00:1f0b GradeRendering.drawgrade
00:20a7 GradeRendering.drawgrade 00:1f12 GradeRendering.regulargrade
00:20ae GradeRendering.regulargrade 00:1f1a GradeRendering.sgrade
00:20b6 GradeRendering.sgrade 00:1f30 GradeRendering.hisgrade
00:20cc GradeRendering.hisgrade 00:1f46 GradeRendering.mgrade
00:20e2 GradeRendering.mgrade 00:1f5c GradeRendering.lettergrade
00:20f8 GradeRendering.lettergrade 00:1f79 GradeRendering.mk
00:2115 GradeRendering.mk 00:1f7f GradeRendering.mv
00:211b GradeRendering.mv 00:1f85 GradeRendering.mo
00:2121 GradeRendering.mo 00:1f8b GradeRendering.mm
00:2127 GradeRendering.mm 00:1f91 GradeRendering.gmgrade
00:212d GradeRendering.gmgrade 00:1f9c RestoreSRAM
00:2138 RestoreSRAM 00:1fcb TrustedLoad
00:2167 TrustedLoad 00:207f TrustedLoad.jumps
00:221b TrustedLoad.jumps 00:2097 TrustedLoad.dmgt
00:2233 TrustedLoad.dmgt 00:209d TrustedLoad.tgm1
00:2239 TrustedLoad.tgm1 00:20a3 TrustedLoad.tgm3
00:223f TrustedLoad.tgm3 00:20a9 TrustedLoad.deat
00:2245 TrustedLoad.deat 00:20af TrustedLoad.shir
00:224b TrustedLoad.shir 00:20b5 TrustedLoad.chil
00:2251 TrustedLoad.chil 00:20bb TrustedLoad.myco
00:2257 TrustedLoad.myco 00:20c1 TrustedLoad.search
00:225d TrustedLoad.search 00:20d3 TrustedLoad.notfound
00:226f TrustedLoad.notfound 00:20da TrustedLoad.fallback
00:2276 TrustedLoad.fallback 00:20f5 InitializeSRAM
00:2291 InitializeSRAM 00:2256 ResetScores
00:23f2 ResetScores 00:2264 ResetScores.jumps
00:2400 ResetScores.jumps 00:2279 ResetScores.dmgt
00:2415 ResetScores.dmgt 00:2285 ResetScores.tgm1
00:2421 ResetScores.tgm1 00:2291 ResetScores.tgm3
00:242d ResetScores.tgm3 00:229d ResetScores.deat
00:2439 ResetScores.deat 00:22a9 ResetScores.shir
00:2445 ResetScores.shir 00:22b5 ResetScores.chil
00:2451 ResetScores.chil 00:22c1 ResetScores.myco
00:245d ResetScores.myco 00:22cd NextProfile
00:2469 NextProfile 00:22d6 NextProfile.update
00:2472 NextProfile.update 00:22d9 ChangeProfile
00:2475 ChangeProfile 00:22d9 ChangeProfile.backup
00:2475 ChangeProfile.backup 00:2307 ChangeProfile.first
00:24a3 ChangeProfile.first 00:2315 ChangeProfile.second
00:24b1 ChangeProfile.second 00:2323 ChangeProfile.third
00:24bf ChangeProfile.third 00:2331 ChangeProfile.fourth
00:24cd ChangeProfile.fourth 00:233f ChangeProfile.fifth
00:24db ChangeProfile.fifth 00:234d ChangeProfile.sixth
00:24e9 ChangeProfile.sixth 00:235b ChangeProfile.seventh
00:24f7 ChangeProfile.seventh 00:2369 ChangeProfile.eighth
00:2505 ChangeProfile.eighth 00:2377 ChangeProfile.ninth
00:2513 ChangeProfile.ninth 00:2385 ChangeProfile.tenth
00:2521 ChangeProfile.tenth 00:2393 ChangeProfile.restore
00:252f ChangeProfile.restore 00:23c2 ChangeProfile.lfirst
00:255e ChangeProfile.lfirst 00:23d1 ChangeProfile.lsecond
00:256d ChangeProfile.lsecond 00:23e0 ChangeProfile.lthird
00:257c ChangeProfile.lthird 00:23ef ChangeProfile.lfourth
00:258b ChangeProfile.lfourth 00:23fe ChangeProfile.lfifth
00:259a ChangeProfile.lfifth 00:240d ChangeProfile.lsixth
00:25a9 ChangeProfile.lsixth 00:241c ChangeProfile.lseventh
00:25b8 ChangeProfile.lseventh 00:242b ChangeProfile.leighth
00:25c7 ChangeProfile.leighth 00:243a ChangeProfile.lninth
00:25d6 ChangeProfile.lninth 00:2449 ChangeProfile.ltenth
00:25e5 ChangeProfile.ltenth 00:2458 ResetProfile
00:25f4 ResetProfile 00:24bb LevelInit
00:2657 LevelInit 00:252b SpecialLevelInit
00:26c7 SpecialLevelInit 00:2539 SpecialLevelInit.jumps
00:26d5 SpecialLevelInit.jumps 00:254e SpecialLevelInit.dmgt
00:26ea SpecialLevelInit.dmgt 00:2553 SpecialLevelInit.tgm1
00:26ef SpecialLevelInit.tgm1 00:2558 SpecialLevelInit.tgm3
00:26f4 SpecialLevelInit.tgm3 00:255d SpecialLevelInit.deat
00:26f9 SpecialLevelInit.deat 00:2562 SpecialLevelInit.shir
00:26fe SpecialLevelInit.shir 00:2567 SpecialLevelInit.chil
00:2703 SpecialLevelInit.chil 00:256c SpecialLevelInit.myco
00:2708 SpecialLevelInit.myco 00:2571 SpecialLevelInit.loaddata
00:270d SpecialLevelInit.loaddata 00:25a6 LevelUp
00:2742 LevelUp 00:25d0 LevelUp.doit
00:276c LevelUp.doit 00:260f LevelUp.checknlevel
00:27ab LevelUp.checknlevel 00:2664 LevelUp.checkcool
00:2800 LevelUp.checkcool 00:2685 LevelUp.checkregret
00:2821 LevelUp.checkregret 00:26a2 LevelUp.resetsectiontimer
00:283e LevelUp.resetsectiontimer 00:26c5 LevelUp.regretavailable
00:2861 LevelUp.regretavailable 00:26c9 LevelUp.bellmaybe
00:2865 LevelUp.bellmaybe 00:26e5 LevelUp.leveljinglemaybe
00:2881 LevelUp.leveljinglemaybe 00:26f5 AdjustSpeedCurve
00:2891 AdjustSpeedCurve 00:26fb AdjustSpeedCurve.docheck
00:2897 AdjustSpeedCurve.docheck 00:26fb AdjustSpeedCurve.checkthousands
00:2897 AdjustSpeedCurve.checkthousands 00:270a AdjustSpeedCurve.checkhundreds
00:28a6 AdjustSpeedCurve.checkhundreds 00:2717 AdjustSpeedCurve.checktens
00:28b3 AdjustSpeedCurve.checktens 00:2726 AdjustSpeedCurve.checkones
00:28c2 AdjustSpeedCurve.checkones 00:2731 AdjustSpeedCurveForced
00:28cd AdjustSpeedCurveForced 00:276c AdjustSpeedCurveForced.continue
00:2908 AdjustSpeedCurveForced.continue 00:2771 BuildTrueCLevel
00:290d BuildTrueCLevel 00:2799 BuildTrueCLevel.thousands
00:2935 BuildTrueCLevel.thousands 00:27ae CheckSpecialLevelConditions
00:294a CheckSpecialLevelConditions 00:27df CheckSpecialLevelConditions.override
00:297b CheckSpecialLevelConditions.override 00:27fa CheckSpecialLevelConditions.nooverride
00:2996 CheckSpecialLevelConditions.nooverride 00:2800 CheckSpecialLevelConditions.speciallock
00:299c CheckSpecialLevelConditions.speciallock 00:2824 CheckSpecialLevelConditions.bones
00:29c0 CheckSpecialLevelConditions.bones 00:2839 CheckSpecialLevelConditions.enterthebonezone
00:29d5 CheckSpecialLevelConditions.enterthebonezone 00:283e CheckSpecialLevelConditions.invis
00:29da CheckSpecialLevelConditions.invis 00:2853 CheckSpecialLevelConditions.vanishoxyaction
00:29ef CheckSpecialLevelConditions.vanishoxyaction 00:2858 CheckSpecialLevelConditions.killscreen
00:29f4 CheckSpecialLevelConditions.killscreen 00:2869 CheckSpecialLevelConditions.rip
00:2a05 CheckSpecialLevelConditions.rip 00:2899 CheckSpecialLevelConditions.staffroll
00:2a35 CheckSpecialLevelConditions.staffroll 00:28a7 CheckSpecialLevelConditions.justkill
00:2a43 CheckSpecialLevelConditions.justkill 00:28bb TriggerKillScreen
00:2a57 TriggerKillScreen 00:28dd GetSection
00:2a79 GetSection 00:28eb GetSectionBCD
00:2a87 GetSectionBCD 00:28f4 GetAdjustedSection
00:2a90 GetAdjustedSection 00:2902 GetAdjustedSectionBCD
00:2a9e GetAdjustedSectionBCD 00:290b SkipSection
00:2aa7 SkipSection 00:2917 SFXInit
00:2ab3 SFXInit 00:2945 SFXPopQueue
00:2ae1 SFXPopQueue 00:295a SFXPushQueue
00:2af6 SFXPushQueue 00:296b SFXProcessQueue
00:2b07 SFXProcessQueue 00:2999 SFXTriggerNoise
00:2b35 SFXTriggerNoise 00:29c6 SFXEnqueue
00:2b62 SFXEnqueue 00:29df SFXEnqueue.findsfx
00:2b7b SFXEnqueue.findsfx 00:2b45 SFXKill
00:2ce1 SFXKill 00:2b7b SFXPlayNoise
00:2d17 SFXPlayNoise 00:2b86 SFXPlayNoise.noisereg
00:2d22 SFXPlayNoise.noisereg 00:2b9d SFXPlayNoise.savenoiseplayhead
00:2d39 SFXPlayNoise.savenoiseplayhead 00:2ba6 SFXPlay
00:2d42 SFXPlay 00:2bab SFXPlay.play
00:2d47 SFXPlay.play 00:2bb5 SFXPlay.getRegister
00:2d51 SFXPlay.getRegister 00:2bb6 SFXPlay.checkEndOfSong
00:2d52 SFXPlay.checkEndOfSong 00:2bc8 SFXPlay.checkEndOfSample
00:2d64 SFXPlay.checkEndOfSample 00:2bcc SFXPlay.checkChangeBank
00:2d68 SFXPlay.checkChangeBank 00:2bd6 SFXPlay.checkChangePlayHead
00:2d72 SFXPlay.checkChangePlayHead 00:2be9 SFXPlay.applyRegister
00:2d85 SFXPlay.applyRegister 00:2bee SFXPlay.savePlayhead
00:2d8a SFXPlay.savePlayhead 00:2bf7 SFXGoRoll
00:2d93 SFXGoRoll 00:2c34 SFXEndOfGame
00:2dd0 SFXEndOfGame 00:2c85 HarvestEntropy
00:2e21 HarvestEntropy 00:2c8b HarvestEntropy.loop
00:2e27 HarvestEntropy.loop 00:2cac RNGInit
00:2e48 RNGInit 00:2d12 RNGInit.complexinit
00:2eae RNGInit.complexinit 00:2d44 ShiftHistory
00:2ee0 ShiftHistory 00:2d61 GetNextHellPiece
00:2efd GetNextHellPiece 00:2d66 GetNextTGM1Piece
00:2f02 GetNextTGM1Piece 00:2d83 GetNextTGM2Piece
00:2f1f GetNextTGM2Piece 00:2da0 GetNextNesPiece
00:2f3c GetNextNesPiece 00:2dae GetNextTGM3Piece
00:2f4a GetNextTGM3Piece 00:2e64 GetNextPiece
00:3000 GetNextPiece 00:2e72 GetNextPiece.nextpiecejumps
00:300e GetNextPiece.nextpiecejumps 00:2e81 Next35Piece
00:301d Next35Piece 00:2e8b Next7Piece
00:3027 Next7Piece 00:2e95 NextByte
00:3031 NextByte 00:2eb5 CheckAndAddHiscore
00:3051 CheckAndAddHiscore 00:2ebf CheckAndAddHiscore.checkloop
00:305b CheckAndAddHiscore.checkloop 00:2ec4 CheckAndAddHiscore.checkgrade
00:3060 CheckAndAddHiscore.checkgrade 00:2ecd CheckAndAddHiscore.oldgraded
00:3069 CheckAndAddHiscore.oldgraded 00:2edc CheckAndAddHiscore.oldungraded
00:3078 CheckAndAddHiscore.oldungraded 00:2ee3 CheckAndAddHiscore.checklevel
00:307f CheckAndAddHiscore.checklevel 00:2f08 CheckAndAddHiscore.checkscore
00:30a4 CheckAndAddHiscore.checkscore 00:2f4b CheckAndAddHiscore.notbetter
00:30e7 CheckAndAddHiscore.notbetter 00:2f58 CheckAndAddHiscore.better
00:30f4 CheckAndAddHiscore.better 00:2f5a InsertHiScore
00:30f6 InsertHiScore 00:2f5a InsertHiScore.copylower
00:30f6 InsertHiScore.copylower 00:2f6b InsertHiScore.copyupper
00:3107 InsertHiScore.copyupper 00:2f8b InsertHiScore.findrow
00:3127 InsertHiScore.findrow 00:2f9b InsertHiScore.insert
00:3137 InsertHiScore.insert 00:2ff4 InsertHiScore.persist
00:3190 InsertHiScore.persist 00:3005 GetHiScoreEntry
00:31a1 GetHiScoreEntry 00:301d GetHiScoreEntry.store
00:31b9 GetHiScoreEntry.store 00:3026 InitTargetHSTable
00:31c2 InitTargetHSTable 00:3031 InitTargetHSTable.jumps
00:31cd InitTargetHSTable.jumps 00:3046 InitTargetHSTable.dmgt
00:31e2 InitTargetHSTable.dmgt 00:304b InitTargetHSTable.tgm1
00:31e7 InitTargetHSTable.tgm1 00:3050 InitTargetHSTable.tgm3
00:31ec InitTargetHSTable.tgm3 00:3055 InitTargetHSTable.deat
00:31f1 InitTargetHSTable.deat 00:305a InitTargetHSTable.shir
00:31f6 InitTargetHSTable.shir 00:305f InitTargetHSTable.chil
00:31fb InitTargetHSTable.chil 00:3064 InitTargetHSTable.myco
00:3200 InitTargetHSTable.myco 00:3067 InitTargetHSTable.store
00:3203 InitTargetHSTable.store 00:307a sProgressData
00:3216 sProgressData 00:31c4 TimeInit
00:3360 TimeInit 00:31ed StartCountdown
00:3389 StartCountdown 00:31fb ResetGameTime
00:3397 ResetGameTime 00:320f CheckTorikan
00:33ab CheckTorikan 00:3225 CheckTorikan.failure
00:33c1 CheckTorikan.failure 00:3227 CheckTorikan.success
00:33c3 CheckTorikan.success 00:322a HandleTimers
00:33c6 HandleTimers 00:3250 HandleTimers.reduce
00:33ec HandleTimers.reduce 00:325d HandleTimers.clock
00:33f9 HandleTimers.clock 00:3277 HandleTimers.go
00:3413 HandleTimers.go 00:329b CheckCOOL_REGRET
00:3437 CheckCOOL_REGRET 00:32b2 CheckCOOL_REGRET.failure
00:344e CheckCOOL_REGRET.failure 00:32b4 CheckCOOL_REGRET.success
00:3450 CheckCOOL_REGRET.success 00:32b7 HandleSectionTimers
00:3453 HandleSectionTimers 00:32d3 HandleSectionTimers.continue
00:346f HandleSectionTimers.continue 00:32e7 HandleSectionTimers.sectiongo
00:3483 HandleSectionTimers.sectiongo 00:330b sHiscoreDefaultData
00:34a7 sHiscoreDefaultData 00:344b InputInit
00:35e7 InputInit 00:345d GetInput
00:35f9 GetInput 00:345d GetInput.btns
00:35f9 GetInput.btns 00:346a GetInput.readA
00:3606 GetInput.readA 00:346e GetInput.setA
00:360a GetInput.setA 00:3479 GetInput.clearA
00:3615 GetInput.clearA 00:347c GetInput.readB
00:3618 GetInput.readB 00:3480 GetInput.setB
00:361c GetInput.setB 00:348b GetInput.clearB
00:3627 GetInput.clearB 00:348e GetInput.readSelect
00:362a GetInput.readSelect 00:3492 GetInput.setSelect
00:362e GetInput.setSelect 00:349d GetInput.clearSelect
00:3639 GetInput.clearSelect 00:34a0 GetInput.readStart
00:363c GetInput.readStart 00:34a4 GetInput.setStart
00:3640 GetInput.setStart 00:34af GetInput.clearStart
00:364b GetInput.clearStart 00:34b2 GetInput.dpad
00:364e GetInput.dpad 00:34bf GetInput.readUp
00:365b GetInput.readUp 00:34c3 GetInput.setUp
00:365f GetInput.setUp 00:34ce GetInput.clearUp
00:366a GetInput.clearUp 00:34d1 GetInput.readDown
00:366d GetInput.readDown 00:34d5 GetInput.setDown
00:3671 GetInput.setDown 00:34e0 GetInput.clearDown
00:367c GetInput.clearDown 00:34e3 GetInput.readLeft
00:367f GetInput.readLeft 00:34e7 GetInput.setLeft
00:3683 GetInput.setLeft 00:34f2 GetInput.clearLeft
00:368e GetInput.clearLeft 00:34f5 GetInput.readRight
00:3691 GetInput.readRight 00:34f9 GetInput.setRight
00:3695 GetInput.setRight 00:3504 GetInput.clearRight
00:36a0 GetInput.clearRight 00:3507 GetInput.priorities
00:36a3 GetInput.priorities 00:3514 GetInput.jumps
00:36b0 GetInput.jumps 00:3523 GetInput.dlru
00:36bf GetInput.dlru 00:3533 GetInput.ulrd
00:36cf GetInput.ulrd 00:3543 GetInput.lrud
00:36df GetInput.lrud 00:354e GetInput.udlr
00:36ea GetInput.udlr 00:3559 GetInput.zeroud
00:36f5 GetInput.zeroud 00:355f GetInput.zerolr
00:36fb GetInput.zerolr 00:3565 GetInput.zerolrd
00:3701 GetInput.zerolrd 00:356d GetInput.zerolru
00:3709 GetInput.zerolru 00:3575 ScoreInit
00:3711 ScoreInit 00:359d IncreaseScore
00:3739 IncreaseScore 00:35d5 IncreaseScore.doConvert
00:3771 IncreaseScore.doConvert 00:35ed IncreaseScore.carry
00:3789 IncreaseScore.carry 00:35ef IncreaseScore.postConvert
00:378b IncreaseScore.postConvert 00:3603 IncreaseScore.preAddDigit
00:379f IncreaseScore.preAddDigit 00:362b IncreaseScore.addDigit
00:37c7 IncreaseScore.addDigit 00:3641 IncreaseScore.nextDigit
00:37dd IncreaseScore.nextDigit 00:3655 SwitchToTitle
00:37f1 SwitchToTitle 00:365e TitleEventLoopHandler
00:37fa TitleEventLoopHandler 00:3668 TitleVBlankHandler
00:3804 TitleVBlankHandler 00:3672 PersistLevel
00:380e PersistLevel 00:3680 DrawSpeedMain
00:381c DrawSpeedMain 00:36d0 DrawSpeedSettings
00:386c DrawSpeedSettings 00:3720 SetProgress
00:38bc SetProgress 00:372a SetProgress.loop
00:38c6 SetProgress.loop 00:372e SetProgress.correct
00:38ca SetProgress.correct 00:3755 SetProgress.wvr_u1
00:38f1 SetProgress.wvr_u1 00:3761 SetProgress.wvr_u2
00:38fd SetProgress.wvr_u2 00:376f SetProgress.wvr_u3
00:390b SetProgress.wvr_u3 00:377b SetProgress.wvr_u4
00:3917 SetProgress.wvr_u4 00:3789 SetProgress.wvr_u5
00:3925 SetProgress.wvr_u5 00:3795 SetProgress.wvr_u6
00:3931 SetProgress.wvr_u6 00:37a3 SetProgress.wvr_u7
00:393f SetProgress.wvr_u7 00:37af SetProgress.wvr_u8
00:394b SetProgress.wvr_u8 00:37bd SetProgress.wvr_u9
00:3959 SetProgress.wvr_u9 00:37c9 SetProgress.wvr_u10
00:3965 SetProgress.wvr_u10 00:37d1 Main
00:396d Main 00:37fa Main.notgbc
00:3996 Main.notgbc 00:3806 Main.wvr_u1
00:39a2 Main.wvr_u1 00:3833 EventLoop
00:39cf EventLoop 00:384c EventLoop.eventloopjumps
00:39e8 EventLoop.eventloopjumps 00:3855 EventLoopPostHandler
00:39f1 EventLoopPostHandler 00:3857 EventLoopPostHandler.wvb_u2
00:39f3 EventLoopPostHandler.wvb_u2 00:3869 EventLoopPostHandler.vblankjumps
00:3a05 EventLoopPostHandler.vblankjumps 00:3872 GradeInit
00:3a0e GradeInit 00:387b UpdateGrade
00:3a17 UpdateGrade 00:3884 DecayGradeProcess
00:3a20 DecayGradeProcess 00:388d DecayGradeDelay
00:3a29 DecayGradeDelay 00:3896 TGM3REGRETHandler
00:3a32 TGM3REGRETHandler 00:389f TGM3COOLHandler
00:3a3b TGM3COOLHandler 00:38a8 UnsafeMemCopy
00:3a44 UnsafeMemCopy 00:38b1 SafeMemCopy.wvr_u1
00:3a4d SafeMemCopy.wvr_u1 00:38b1 SafeMemCopy
00:3a4d SafeMemCopy 00:38c0 UnsafeMemSet
00:3a5c UnsafeMemSet 00:38c8 SafeMemSet
00:3a64 SafeMemSet 00:38c8 SafeMemSet.wvr_u2
00:3a64 SafeMemSet.wvr_u2 00:38d6 SwitchToGameplay
00:3a72 SwitchToGameplay 00:38df SwitchToGameplayBig
00:3a7b SwitchToGameplayBig 00:38e8 GamePlayEventLoopHandler
00:3a84 GamePlayEventLoopHandler 00:38f2 GamePlayBigEventLoopHandler
00:3a8e GamePlayBigEventLoopHandler 00:38fc EnableScreenSquish
00:3a98 EnableScreenSquish 00:3916 DisableScreenSquish
00:3ab2 DisableScreenSquish 00:3921 CopyOAMHandler
00:3abd CopyOAMHandler 00:392d ClearOAM
00:3ac9 ClearOAM 00:3943 DoIntroEffect
00:3adf DoIntroEffect 00:3954 BankingInit
00:3af0 BankingInit 00:3963 OAMDMA
00:3aff OAMDMA 00:396d OAMDMAEnd
00:3b09 OAMDMAEnd
01:4008 sDMGTSpeedCurve 01:4008 sDMGTSpeedCurve
01:4203 sDMGTSpeedCurveEnd 01:4203 sDMGTSpeedCurveEnd
01:4205 sDMGTSpeedCurveSpecialData 01:4205 sDMGTSpeedCurveSpecialData

View File

@ -116,6 +116,17 @@ wOuterReps:: ds 1
wInnerReps:: ds 1 wInnerReps:: ds 1
SECTION "Palette Data", ROM0
sModeColors:
db 5 ; DMGT
db 6 ; TGM1
db 3 ; TGM3
db 0 ; DEAT
db 0 ; SHIR
db 1 ; CHIL
db 4 ; MYCO
SECTION "GBC Functions", ROM0 SECTION "GBC Functions", ROM0
; Copies the shadow tile attribute map to vram using instant HDMA. ; Copies the shadow tile attribute map to vram using instant HDMA.
ToATTR:: ToATTR::
@ -251,22 +262,6 @@ GBCGameplayInit::
.postpalettes .postpalettes
ldh a, [hBState]
and a, a
jp z, .skip
WRITEPAL_B 0, BLACK_C, RED_2_C, RED_1_C, RED_0_C
WRITEPAL_B 1, BLACK_C, GREEN_2_C, GREEN_1_C, GREEN_0_C
WRITEPAL_B 2, BLACK_C, PURPLE_2_C, PURPLE_1_C, PURPLE_0_C
WRITEPAL_B 3, BLACK_C, BLUE_2_C, BLUE_1_C, BLUE_0_C
WRITEPAL_B 4, BLACK_C, ORANGE_2_C, ORANGE_1_C, ORANGE_0_C
WRITEPAL_B 5, BLACK_C, YELLOW_2_C, YELLOW_1_C, YELLOW_0_C
WRITEPAL_B 6, BLACK_C, CYAN_2_C, CYAN_1_C, CYAN_0_C
WRITEPAL_B 7, BLACK_C, GRAY_0_C, GRAY_1_C, WHITE_C
.skip
; Copy the tilemap to shadow. ; Copy the tilemap to shadow.
ld de, $9800 ld de, $9800
ld hl, wShadowTilemap ld hl, wShadowTilemap
@ -370,31 +365,12 @@ GBCGameplayProcess::
ret nz ret nz
; Color based on mode. ; Color based on mode.
ld hl, sModeColors
ld b, 0
ld a, [wSpeedCurveState] ld a, [wSpeedCurveState]
cp a, SCURVE_DMGT ld c, a
ld a, $05 ;Blue add hl, bc
jr z, .goverride ld a, [hl]
ld a, [wSpeedCurveState]
cp a, SCURVE_TGM1
ld a, $06 ;Cyan
jr z, .goverride
ld a, [wSpeedCurveState]
cp a, SCURVE_TGM3
ld a, $03 ;Blue
jr z, .goverride
ld a, [wSpeedCurveState]
cp a, SCURVE_DEAT
xor a, a ;Red
jr z, .goverride
ld a, [wSpeedCurveState]
cp a, SCURVE_SHIR
xor a, a ;Red
jr z, .goverride ;Always red
ld a, [wSpeedCurveState]
cp a, SCURVE_CHIL
ld a, $01 ;Green
jr z, .goverride
ld a, $02 ;Purple
; Are we 20G? ; Are we 20G?
.goverride .goverride
@ -600,31 +576,12 @@ GBCBigGameplayProcess::
ret nz ret nz
; Color based on mode. ; Color based on mode.
ld hl, sModeColors
ld b, 0
ld a, [wSpeedCurveState] ld a, [wSpeedCurveState]
cp a, SCURVE_DMGT ld c, a
ld a, $05 ;Blue add hl, bc
jr z, .goverride ld a, [hl]
ld a, [wSpeedCurveState]
cp a, SCURVE_TGM1
ld a, $06 ;Cyan
jr z, .goverride
ld a, [wSpeedCurveState]
cp a, SCURVE_TGM3
ld a, $03 ;Blue
jr z, .goverride
ld a, [wSpeedCurveState]
cp a, SCURVE_DEAT
xor a, a ;Red
jr z, .goverride
ld a, [wSpeedCurveState]
cp a, SCURVE_SHIR
xor a, a ;Red
jr z, .goverride ;Always red
ld a, [wSpeedCurveState]
cp a, SCURVE_CHIL
ld a, $01 ;Green
jr z, .goverride
ld a, $02 ;Purple
; Are we 20G? ; Are we 20G?
.goverride .goverride