![]() |
Routines |
Prev: 55458 | Up: Map | Next: 55522 |
Used by the routines at GoldfishGame, GoldfishGame_RefillOxygen, AnimateTitleScreen, GoldfishGame_Handler_Bubbles and Handler_SeaCreatures_Chooser.
|
||||
This routine simply updates *55407 with (*55407*5)+1.
|
||||
UpdateAnimationCounter | 55508 | LD A,(55407) | A=*55407. | |
55511 | LD B,A | B=A. | ||
55512 | INC B | Increment B by one. | ||
55513 | SLA A | Shift A left two positions (with carry). | ||
55515 | SLA A | |||
55517 | ADD A,B | A+=B. | ||
55518 | LD (55407),A | Write A to *55407. | ||
55521 | RET | Return. |
Prev: 55458 | Up: Map | Next: 55522 |