Also, why have you used so many 'if (character[GetPlayerCharacter()].inv[1] > 0)' lines? Surely you could condense them down to one:
if (character[GetPlayerCharacter()].inv[1] > 0) {Ã,Â
Ã, DisplaySpeech(JER, "GIVE MESSAGE");
Ã, FollowCharacter(1, -1);
Ã, SetCharacterView (FISH, 5);
Ã, AnimateCharacter (FISH, loop, delay, repeat);
Ã, ReleaseCharacterView(FISH);
Ã, LoseInventory(1);
}
else if (character[GetPlayerCharacter()].inv[1] == 0) {
Ã, DisplaySpeech(JER, "NO GIVE MESSAGE");
}
if (character[GetPlayerCharacter()].inv[1] > 0) {Ã,Â
Ã, DisplaySpeech(JER, "GIVE MESSAGE");
Ã, FollowCharacter(1, -1);
Ã, SetCharacterView (FISH, 5);
Ã, AnimateCharacter (FISH, loop, delay, repeat);
Ã, ReleaseCharacterView(FISH);
Ã, LoseInventory(1);
}
else if (character[GetPlayerCharacter()].inv[1] == 0) {
Ã, DisplaySpeech(JER, "NO GIVE MESSAGE");
}