Prev: 38540 Up: Map Next: 38577
38561: Girl Add To Pot
Input
A Value to add to Pot
Output
B Value being added to Pot
GirlAddToPot 38561 LD B,A Store the value to add in B.
38562 LD A,(38582) Subtract the value to add from *GirlCash.
38565 SUB B
38566 LD (38582),A
38569 LD A,(38580) And add the value onto *PotValue.
38572 ADD A,B
38573 LD (38580),A
38576 RET Return.
Prev: 38540 Up: Map Next: 38577