10-07-2010, 10:42 AM
This probably isn't too useful to anyone, but here is a patch that I made while I was doing some event editing for my hack.
It replaces all instances of Cyan in "Cyan's Dream" sequence with "Relm". This took -waaay- longer than you would expect.
Anyway, the main point I'm uploading it here is in hopes that someone can help me fix a bug with it. Once activated, the sequence plays out correctly, but this patch still requires the player to bring Cyan to Doma castle. (And, of course, Relm, too.)
I'm 100% certain that the offending line of code is here:
CB/82B1: DE Load CaseWord with the characters in the currently active party?
CB/82B2: 45 Refresh objects
CB/82B3: C2 If ($1E80($0DA) [$1E9B, bit 2] is set) or ($1E80($0A4) [$1E94, bit 4] is clear) or ($1E80($1A2) [$1EB4, bit 2] is clear), branch to $CB8294
CB/82BD: B2 Call subroutine $CAC5C1 (set CaseWord bit corresponding to number of characters in party)
CB/82C1: C0 If ($1E80($1A3) [$1EB4, bit 3] is clear), branch to $CB8294
Specifically, it is one of those "If" statements that needs to be redirected from Cyan to Relm, but I can't tell how it works.
Anyway, for anyone who thinks Relm needed more screentime, have fun with the patch.
http://rapidshare.com/#!download|444|423...ream.ips|0
It replaces all instances of Cyan in "Cyan's Dream" sequence with "Relm". This took -waaay- longer than you would expect.
Anyway, the main point I'm uploading it here is in hopes that someone can help me fix a bug with it. Once activated, the sequence plays out correctly, but this patch still requires the player to bring Cyan to Doma castle. (And, of course, Relm, too.)
I'm 100% certain that the offending line of code is here:
CB/82B1: DE Load CaseWord with the characters in the currently active party?
CB/82B2: 45 Refresh objects
CB/82B3: C2 If ($1E80($0DA) [$1E9B, bit 2] is set) or ($1E80($0A4) [$1E94, bit 4] is clear) or ($1E80($1A2) [$1EB4, bit 2] is clear), branch to $CB8294
CB/82BD: B2 Call subroutine $CAC5C1 (set CaseWord bit corresponding to number of characters in party)
CB/82C1: C0 If ($1E80($1A3) [$1EB4, bit 3] is clear), branch to $CB8294
Specifically, it is one of those "If" statements that needs to be redirected from Cyan to Relm, but I can't tell how it works.
Anyway, for anyone who thinks Relm needed more screentime, have fun with the patch.
http://rapidshare.com/#!download|444|423...ream.ips|0