Language…
10 users online: Apple Boy, DPBOX, Gonzales555, Green, Isikoro, l44l, pakkie, RollingRigatonis, spr0ches, tOaO - Guests: 173 - Bots: 195
Users: 64,667 (2,404 active)
Latest user: DarthHylian

Official Hex/ASM/Etc. Help Thread

  • Pages:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 418
  • 419
  • 420
Didn't work. :/
why did you put #$00 after BPL? you also appear to have confused BPL and BCC.

you also need to replace the rts by a rtl
I fixed those problems, and the rom no longer crashes. But I have a new problem, when I collect a Dragon Coin it dosen't seem to change the On/Off flag, at least Graphics wise. :/

Edit: Through more extensive testing I have confirmed that it fails to switch it at all. I'll look at some of the Block Tool On/Off blocks to se if they offer any help.
Post code you currently have, and I'll be happy to tell you what is up
Bio mentioned that you should be using BCC, not BPL. BCC can be thought of as "branch if less than". It's opposite is BCS, which can be thought of as "branch if greater than or equal to."

Try this:
dcb "MAIN"
LDA RAM_DragonCoin
CMP #$01
BCC OnOffFlag
LDA #$01
STA RAM_OnOff
OnOffFlag:
RTL
Wow, it was that simple? I fell really stupid now. :/ Oh well, learn from mistakes I guess.

Edit: That did the trick!
does it have to be a generator?
No, but I already made it one: Download
I bet you could use the code Mikeyk posted with LevelASM.

Also, do you think you could send me that 1 or more Yoshi Coin block Aiyo? (If you've made it) I want to do some expirementation, though I doubt I'll use it in my hack.
Oh, ok ill check which is the correct one, i have 3 variations with only one working. -_-
How do you covert ASM to hex?I have the 65c819 refrence,but I don't understand it.
Originally posted by Marche102
How do you covert ASM to hex?I have the 65c819 refrence,but I don't understand it.


There's no need to do it by hand:

Originally posted by ghettoyouth
just use a compiler, it's way easier.
you could use Tricks, which comes with sprite tool. just drag your asm file over trasm.exe and it will produce a bin file.

Originally posted by mikeyk
Originally posted by Marche102
How do you covert ASM to hex?I have the 65c819 refrence,but I don't understand it.


There's no need to do it by hand:

Originally posted by ghettoyouth
just use a compiler, it's way easier.
you could use Tricks, which comes with sprite tool. just drag your asm file over trasm.exe and it will produce a bin file.


OH,THANK GOODNESS!
Edit;It should be in .asm format,correct?
Yes.
I'm trying to make a custom sprite solid so that Mario can't walk through it, like a Bowser statue. How would I go about doing this?
Ugh...
my block Crases SMW.
My Code:
PHA
LDA #$99
STA $7E:0DB6
RTS
What am I doing wrong?
Um, remove the colon, and you also don't need 7E.
Add PLA before RTS also, or just remove PHA.
Moved to Basic SMW Hacking!
LWares87
that not belong here at all
  • Pages:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 418
  • 419
  • 420