Langue…
8 utilisateurs en ligne: Adam, drkrdnk,  MarioFanGamer, NerDose, playagmes169, S.U,  Segment1Zone2, TheKazooBloccGosh - Invités: 60 - Robots: 272
Utilisateurs: 55 673 (2 392 actifs)
Dernier utilisateur: peg

Credit Save

Patchs SMW → Credit Save

Détails de la soumission

Nom: Credit Save
Auteur: Alcaro
Ajouté le:
Outil: xkas
Espace Libre Requis: Oui
Correction de bogues: Non
En vedette: Non
Description: This patch silently triggers an event and saves the game when the game is beaten.
Requested by Zeldara109.
Étiquettes: lorom needs remoderation
Commentaires: 5 (aller aux commentaires)
Télécharger 844 octets | 443 téléchargements

commentaires (5)

Bensalot Lien
Well that applied the patch fine. For some reason though it will only save the number of paths found on the file select screen. When you select the file, none of the paths that were completed get saved. Am I doing something wrong?
TheBiob Lien
Oh, freecode, not freespace. My bad
Just change that one line and it should insert fine
(I edited my original code if you want it)
Bensalot Lien
when i that i get this...

creditsave.asm:6: error: Invalid freespace request. [freespace]
creditsave.asm:4: error: Don't autoclean a label at the end of a freespace block, you'll remove some stuff you're not supposed to remove [autoclean JSL Main]
Errors were detected while assembling the patch. Assembly aborted. Your ROM has not been modified


any ideas on what's wrong? Id really appreciate it.
TheBiob Lien
Patch remoderation when

Code
!Event = $FF

org $0094A3
autoclean JSL Main

freecode
Main:
LDA.b #1<<(!Event&7^7)
TSB.w !Event/8+$1F02;Those two lines are to set the correct event flag btw.
TSB.w !Event/8+$1FA9;This is so the flag gets saved.
LDX #$8C
-
LDA $1EA2,x
STA $1F49,x;bad lardboy, dont eat my patches for no reason.
DEX
BPL -
JSL $009BC9;Save
JML $0C93DD;Hijacked code

Untested cause lazy but should work. Make a backup though.
Bensalot Lien
I'm still pretty new to hacking and was wondering if there was a way to use this in asar.