Language…
13 users online: Ahrion, Batata Douce, CogashiGarlic, Dispace, El Cuh Fermin,  Fernap, Foxy_9000_, GangsterJerby,  MarioFanGamer, NewPointless, OhMuramatsu, PixlBitNick, will___ - Guests: 76 - Bots: 118
Users: 54,914 (2,074 active)
Latest user: freedrull

Credit Save

SMW Patches → Credit Save

Submission Details

Name: Credit Save
Author: Alcaro
Added:
Tool: xkas
Requires Free Space: Yes
Bug Fix: No
Featured: No
Description: This patch silently triggers an event and saves the game when the game is beaten.
Requested by Zeldara109.
Tags: lorom needs remoderation
Comments: 5 (jump to comments)
Download 844 bytes | 438 downloads

Comments (5)

Bensalot Link
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 Link
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 Link
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 Link
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 Link
I'm still pretty new to hacking and was wondering if there was a way to use this in asar.