Banner
Views: 959,716,388
Time:
18 users online:  AmperSam, Eduard, Friday_D0nat, HammerBrother, Jazzman287, Julintendo,  K.T.B.,  Kevin, Klug, Knight of Time, Koopster, Murphmario, RecToR_24, Russ, scratch, Supercookie07, Vic Rattlehead, Wuzzy - Guests: 60 - Bots: 127 Users: 53,127 (2,224 active)
Latest: Peter Games_Br
Tip: Using Lunar Magic's "Change Properties in Sprite Header" dialogue, you can adjust the sprite slots in which sprites can spawn. For example, by using a sprite memory setting that doesn't use slot 07, you can easily prevent Reznor breaks in your hack.
Not logged in.
"Pay To End Level" by nick 139
Forum Index - Valley of Bowser - Moderation Questions - Blocks - "Pay To End Level" by nick 139
Pages: « 1 » Link

File NamePay To End Level
Submitted:2014-06-21 08:56:48 PM by nick 139
Authors:nick 139
Act As:130
Includes GFX:No
Description:When you hit this block, it will end the level if you have 30 coins.(You can change the amount) VIDEO: https://www.youtube.com/watch?v=rN0CT8RqCEI
Downloads:Permanent Link


Removal Reason:
Nice block you got there, works fine too. The only problem I have is this:
Code
LDA #$29
STA $1693 

whenevery you want to mess with the actlike setting ($1693) you should never forget to also change Y accordingly. $1693 only holds the low byte of the actlike setting, so if you tell the block to act like 0230 (instead of 0130) your code would make it act like 0229, because you didn't set Y.
So just add an LDY #$01 ontop

Code
LDY #$01	;\
LDA #$29	; | Act like 0129
STA $1693	;/


Minor stuff:
While you're at it, you may want to remove this RTL
Code
Wrong:
LDA #$2A  
STA $1DFC	;Play wrong sound
RTL		;<-- unneeded

The code keeps running and will run into the RTL after the MarioHeadInside label anyway, so there is no need for a second one.

--------------------
Anime statistic on MyAnimeList:
400 animes completed ✓
6000 episodes completed ✓
100 Days completed ✓
... what even am I doing with my life?
Pages: « 1 » Link
Forum Index - Valley of Bowser - Moderation Questions - Blocks - "Pay To End Level" by nick 139

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