![]() |
Routines |
| Prev: 55458 | Up: Map | Next: 55522 |
|
Used by the routines at GoldfishGame, GoldfishGame_RefillOxygen, AnimateTitleScreen, GoldfishGame_Handler_Bubbles and Handler_SeaCreatures_Chooser.
Writes (*TitleScreen_AnimationSeed*5)+1 back to *TitleScreen_AnimationSeed.
|
||||
| UpdateAnimationCounter | 55508 | LD A,(55407) | Write (*TitleScreen_AnimationSeed*5)+1 to *TitleScreen_AnimationSeed. | |
| 55511 | LD B,A | |||
| 55512 | INC B | |||
| 55513 | SLA A | |||
| 55515 | SLA A | |||
| 55517 | ADD A,B | |||
| 55518 | LD (55407),A | |||
| 55521 | RET | Return. | ||
| Prev: 55458 | Up: Map | Next: 55522 |