Banner
Views: 863,887,573
Time:
9 users online: BabaYegha, FLIO, Haithius, KitikuSa,  Lazy, LOLRyan2006 the Goombud, Miku, orka-bln, Tutuibimg - Guests: 42 - Bots: 80 Users: 47,819 (2,082 active)
Latest: germdove
Tip: Avoid blind jumps. If the player has to jump down a random hole to proceed with no indication at all that they can go down there, you've done something wrong!Not logged in.
please show me how to fix this patch
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - please show me how to fix this patch
Pages: « 1 »
I'm new to making patches and not sure what to do
lorom

org $008650
NOP
JSR

org $90b250 :address

db "STAR"
dw !CodeSize-$01
dw !CodeSize-$01^$FFFF


pha : - save joypad status
lda #$01
sta $19
pla :- restore joypad status
rtl :- return to gamecode

I'm using xkas it keeps saying error
ok, wow where to start.
First off, don't use xkas. Use asar instead.

Code
header	;<-- you forgot this
lorom

org $008650	;right now, I can't check whether this is right or not.
NOP
JSL MyCode	;<-- your JSR didn't barnch anywhere, not to mentio you need JSL

org $90b250 	; you use semicolons (;) for comments, not (:)

!CodeSize = End-Start	;\
db "STAR"		; | It's good, that you used RATs tags, but you did them wrong
dw !CodeSize-$01	; |
dw !CodeSize-$01^$FFFF	;/

Start:		;this one is for the RATs
MyCode:		;this is where your code jumps

;your code here...
;nothing wrong except you tried using ':' for comments again.
;also, you forgot the restore code

End:		;this one is again for the RATs


No offense there, but I suggest you read some patch making tutorials again.

--------------------
Anime statistic on MyAnimeList:
400 animes completed ✓
6000 episodes completed ✓
100 Days completed ✓
... what even am I doing with my life?
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - ASM & Related Topics - please show me how to fix this patch

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

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