Banner
Views: 808,227,634
Time:
23 users online:  1UPdudes, AnasMario130, bacon_67_, bandicoot,  BTD6_maker, CalHal, DTA450, Forcepath, fsvgm777, Insanit, JamesD28, Mediocre Espurr,  Noivern, Nowieso, Poppy, Ragey, Redwykelz, Sancles, SquidMan_Raps,  Tahixham, TCgamerboy2002, VLSkoot, wuffalo - Guests: 115 - Bots: 209 Users: 42,442 (2,001 active)
Latest: 00_marvelouschester_00
Tip: Keep track of ALL patches and hex edits in case you need to transfer your data to a new ROM. It's definitely worth the trouble.Not logged in.
Set Counters to X Value by Darkbloom
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Set Counters to X Value by Darkbloom
Pages: « 1 »
File Name: Set Counters to X Value
Submitted: by DarkBOO!m
Authors: DarkBOO!m
Type: Level, Game Mode
Includes GFX: No
Includes Hijack: No
Featured: No
Description: This will let you set various RAM addresses to whatever you want upon entering the level or sublevel - right now it lets you set the number of coins, the number of .

It'll also let you get rid of Yoshi upon entering the level, but unfortunately he stays on screen for a frame before the INIT code runs and it looks kind of goofy.
Screenshots:
It has following issues:
-If you enter level with yoshi, and uberASM is set to kill yoshi, it kills yoshi, but yoshi drums still persist

-I don't know if "!inplay" option (changes player in level) is necessary, especially since it can lead to some glitches (for example entering level with mario and dying/completing level by luigi causes mario to disappear on OW, and luigi appear at his (luigi's) starting position in 1-player game).

-What bugs me the most is it doesn't allow user to disable/enable filters. If user want's do disable coin counter filter or power-up filter and etc. they have to remove lines related with that. It's not very user friendly. You can use if statements and option variables for that.

-In speaking of if statements, the code could've been optimized by using them. If user want's to set value to zero, instead of using LDA : STA you can use STZ, like this

Code
If not(!coinnumber)
  STZ !coin
else
  LDA #!coinnumber
  STA !coin
endif


for yoshi destruction

Code
LDA !noYoshi
STA !YoshiRAM
BEQ Return


can be

Code
If !noYoshi
;destruction loop code
endif
RTL
Pages: « 1 »
Forum Index - Valley of Bowser - Moderation Questions - UberASM - Set Counters to X Value by Darkbloom

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

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


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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