Banner
Views: 784,459,190
Time:
16 users online: ahthedark,  BeeKaaaay, cxino, Dark Prince, DarkFeposo, ExONightZ, h.carrell, HD_DankBaron, Kit, Magmatic, Rodrigo, SiameseTwins, Sixcorby, TheInsanity115, Ultima, Unknown User - Guests: 46 - Bots: 210 Users: 41,024 (1,548 active)
Latest: fail_1235
Tip: Don't just modify the original SMW overworld; start from scratch.Not logged in.
Official Hex/ASM/Etc. Help Thread
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Official Hex/ASM/Etc. Help Thread
Pages: « 1 2408 409 410 411 »


Probably will not work since it is, as you said, a preprocessing statement. The assembler has no way of retreiving the values in the table because it has not actually processed the table yet.

It would be better to just add a manually-changeable flag for compiling to a table or not.

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
I'm looking at Bomb Explosion at $02808D as well as the Explosion Sensitivity patch, and I'm not seeing it yet. Is there a way to have the explosion itself trigger block code on blocks it interesects (I'm not sure where to look for block-sprite interactions)? Atm, I'm just trying to merge several "explosions" and the bomb one *will* effect the block it's on, but I have a couple other ideas as well.

Thanks for the previous reply Thomas! Yeah a flag would be simple, was trying hold out on that though to make it easier for end-use.
I'm looking for something like this patch, but without saving of any sort. Technically, whenever you open up the ROM in your emulator, it just plays without saving anything. Any help on this?
Originally posted by Mandagary
I'm looking for something like this patch, but without saving of any sort. Technically, whenever you open up the ROM in your emulator, it just plays without saving anything. Any help on this?


Not sure, but theoretically couldn't you "hijack" the save routine and just put an RTL right there? Always a fresh game because nothing is ever saved?

Code
org $$009BC9
	db $6B


Apologies if any of my help on this "Play On Start" endeavor has been broken by the way.

EDIT: Make sure to apply that after the one-file one-player patch, since it's a conflicting hijack (which is in-fact the point).
OR... ya know, just edit the code in that patch to be db $6B.
Thanks man, you're a real life saver!
Hi.

Is there a code around that let's you play as player 2 in different sublevels within the same level using player 1's control inputs?
So I'm working on a collectibles heavy Romhack. I was using Blockcreator to make some custom tiles, and when I looked in the Score tab, I couldn't find an option to add points. I am a bit new to ASM, but if someone could show me the syntax for adding points it would be greatly appreciated.


Don't know if Blockreator has anything for it, but the usual method would be by JSLing to $02ACEF with the desired value in the A register. Like this:

Code
LDA #$05	; 05 = 100 points
JSL $02ACEF	; run the routine

However, that routine is intended for when interacting with sprites only (as it spawns a score indication sprite at the sprite's position). If you want to give the points directly instead, you need this longer code:

Code
    LDA $0DB3
    ASL : ADC $0DB3
    TAX
    LDA $0F34,x
    CLC : ADC #$0A	   ; this value is the number of points to give (in hex), divided by 10 (so 0A = 10 in decimal = 100 points)
    STA $0F34,x
    BCC +
    INC $0F35,x
    BNE +
    INC $0F36,x
  +


Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
Pages: « 1 2408 409 410 411 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - Official Hex/ASM/Etc. Help Thread

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

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


Total queries: 7

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented