dondon151 Posted August 2, 2012 Share Posted August 2, 2012 As I'm sure you're all aware, staff EXP is determined by the formula Total EXP = Constant + Variable where Constant = 10 and Variable = (cost per use / 20) normally and an array when autopatched with FEditor. The variable amount is easy enough to change in either circumstance; what I wanted to know was how to change the constant amount. According to Cam, this constant should have been ignored when FEditor autopatches the ROM, but it isn't... Which is why staves on a patched ROM give 10 more EXP than staves on an unpatched ROM. [3:23:51 AM] Cam: this source actually nop's the add command [3:23:58 AM] Cam: but apparently FEditor's autopatch doesn't do it right [3:24:13 AM] Cam: 0x0802A032 [3:24:22 AM] Cam: 00 00 out two bytes there yay problem solved /credit Quote Link to comment Share on other sites More sharing options...
Agro Posted August 2, 2012 Share Posted August 2, 2012 how is this even a question Quote Link to comment Share on other sites More sharing options...
dondon151 Posted August 2, 2012 Author Share Posted August 2, 2012 i asked it and it got solved before i posted the topic Quote Link to comment Share on other sites More sharing options...
Agro Posted August 2, 2012 Share Posted August 2, 2012 shouldn't this be in hacking resources then Quote Link to comment Share on other sites More sharing options...
CT075 Posted August 2, 2012 Share Posted August 2, 2012 technically you should be nop'ing out the instruction (instead of doing lsl r0, #0x0 since that does nothing but costs a cycle) but i dunno what the hex for .nop is anyway Quote Link to comment Share on other sites More sharing options...
Nintenlord Posted August 2, 2012 Share Posted August 2, 2012 NOP = MOV r8, r8 in thumb at least. Though even it takes 1 cycle according to GBATEK, which is the same amount as LSL r0, r0, #0 takes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.