Editing BHAV Resources with IFFSnooper - Adding Motives (3)

"The next step is to tie in the lines so that they flow smoothly. We can't leave them like this or the game will get confused..."

At this stage we have lines 19 and 20 written to do what we want, but the game would never use them, because none of the other code lines lead there. So this is what we will work on next.

BHAV 4112 line 7 branches

Line 7 branches to hex FE (decimal 254, exit true) or hex 0D (decimal 13).

BHAV 4112 line 7 edit

Open up the BHAV Edit Window again and go to line 7, and we see the decimal values.

BHAV 4112 line 20 hunger

Change the value for "next line if true" from 13 to 19.