Weirdness with an activator and a RAM Write

Started by Arudo, May 14, 2011, 12:01:11 AM

Previous topic - Next topic

Arudo

So I'm doing some very minor revisions with the JP version of Rune Factory Frontier.

Here is the water code.

Inf. water (watering can)[Ricky23i]
04492778 00000064

And here is the

Time Stop/Start Code [ricky23i]
203B8DCE 00000084
CC000000 00000000
0048BE25 00000000

The only change I've made was to the activator, making it for the CCPlus instead of WiiMote+Nunchuk.

Now here's where things get weird.

Only when the Time Stop code is actively stopping time, my Water count remains at 99. When time moves again my water count starts to decrease.

Anybody have any ideas what's going on?
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.

dcx2


Arudo

The original didn't have one, so I didn't put one in.
I'm assuming there should be a E00000000 80008000 at the end, but I don't see how the time freeze code would affect a RAM write.
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.

dcx2

#3
The RAM write doesn't need one but the button activator does.  A CC switch must follow an if code, and if codes must be terminated (or end-if'd).

If you don't use a terminator, then the CC code is still active when it gets to the Inf Water.  If the CC is on, then inf water will work.  If the CC is off, inf water won't work.

EDIT: you will only have this problem if inf water comes after the button activator.  If it comes before, the problem will go away.  However, any other codes after the time code, up until the first terminator after the time code, will not work.

The original coder probably didn't even know this was a problem, because if his code is last, then it won't screw anything up.  It only screws up codes that come after it.

Arudo

#4
...ah! I see what you mean. It's one of those issues. Thanks
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.

Bully@Wiiplaza

always use terminators with button conditionals and there won´t be issues!
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

Arudo

Tell that to the guy 2-3 years ago. Hahaha
-Crazy Hacker Hates You All (definitely)-

ノಠ益ಠ)ノ彡â"»â"â"»

Do NOT PM me about Code Requests

Pro-tip: Hit the Applaud Button

Oh? Failed to read the rules? You're already dead.