Editing BHAV Resources with IFFSnooper - Adding Motives (4)

So now line 7 leads to line 19, which leads to line 13. What about line 13?

BHAV 4112 line 13 branches

Line 13 branches to exit true or gives an error, since we don't expect that adding two numbers should fail. We want the "next line if true" to lead to line 20 instead.

BHAV 4112 line 13 edit

Now line 13 leads to line 20, which leads to exit true.


As noted by Grapholina, this was just a practice run...

BHAV 4112 returns true at line 0 regardless of whether the test for constant BCON 4097 line 6 is true or not, so our modified code would still have no impact in the game.

BHAV 4112 resequenced

If you resequence BHAV 4112, you delete all the unused lines, including our modified code.


Time to move on to something more useful and modify BHAV 4113.