Banner
Views: 993,005,345
Time:
24 users online: AnEvilGhost, bravetoaster, Capeman, E-man38, Freitasth, Fullcannon, George, GiraffeKiller, grisu,  JamesD28,  Kevin, kurtistrydiz, RedCrescent96, Revenge319, RollingRigatonis, RZ1, SimFan96,  Telinc1, TheJank, TheKazooBloccGosh, WIKIDNEZ, Wolfguy423,  XenonZed, zanian - Guests: 91 - Bots: 101 Users: 54,459 (2,084 active)
Latest: sanskieth
Tip: Read Lunar Magic's help file and SMW Central's F.A.Q., as they cover most of the basics of SMW hacking.
Not logged in.
Edit Level Timer by Aurel509
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Edit Level Timer by Aurel509
Pages: « 1 » Link
File Name: Edit Level Timer
Submitted: by Aurel509
Authors: Aurel509
Type: Level
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This code allows you to edit the normal timer quite a bit with some custom features.

Read the ASM for more info

Credit would be nice if used.
Screenshots:
Tested With:
Lunar Magic 3.11
UberASM 1.4
SA-1 1.32
ZMZ 1.08

The timer keeps on ticking when the game is paused or freeze flag is active, which can cause unintended effects. In case of death, the game will lock up. You should add a check for pause and freeze flag ($13D4 and $9D respectively).

Other issues:
-The timer doesn't reset propertly, always setting tens and ones to zero. the problem is at lines 219 and 220, instead of STZ there should STA

-There are a few instances where minor optimizations could be done. Some examples:
--you don't need RTL after BRA, it won't trigger since we already jumped to where BRA was pointing (line 217 for example)
--instead of doing LDA.b #0 : STA $0F31|!addr you can do STZ $0F31|!addr, something you're already doing on the same line with other addresses
--if you want init to reset timer on !Reversed condition you can just put init label right next to ResetTimer label (no need to BRA to ResetTimer)
Pages: « 1 » Link
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Edit Level Timer by Aurel509

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2022 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks