ok, wow where to start.
First off, don't use xkas. Use asar instead.
header ;<-- you forgot this
org $008650 ;right now, I can't check whether this is right or not.
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?