Prev: 968C Up: Map Next: 96B1
96A1: Girl Add To Pot
Input
A Value to add to Pot
Output
B Value being added to Pot
GirlAddToPot 96A1 LD B,A Store the value to add in B.
96A2 LD A,($96B6) Subtract the value to add from *GirlCash.
96A5 SUB B
96A6 LD ($96B6),A
96A9 LD A,($96B4) And add the value onto *PotValue.
96AC ADD A,B
96AD LD ($96B4),A
96B0 RET Return.
Prev: 968C Up: Map Next: 96B1