![]()  | 
Routines | 
| Prev: 44666 | Up: Map | Next: 44705 | 
| 
 
Used by the routine at GamePlay_Start.
 
 | 
||||
| 
 
Fetch Sabremans current sprite frame.
 
 | 
||||
| HandlerYellowOrchid | 44687 | LD A,(IX+0) | A=IX+0 (sprite reference). | |
| 
 
This will leave either 0 or 4
 
 | 
||||
| 44690 | AND %00000100 | Keep only bit 2. | ||
| 
 
Add on 67.
 
 | 
||||
| 44692 | OR %01000011 | Set bits 0-1, 6. | ||
| 
 
The resulting sprite frame will be either "Sabreman: Sitting Left" or "Sabreman: Sitting Right".
 
 | 
||||
| 44694 | LD (IX+0),A | Write the result back to IX+0 (sprite reference). | ||
| 44697 | LD A,96 | Write 96 to OrchidEffectTimer. | ||
| 44699 | LD (38576),A | |||
| 44702 | JP HandlerYellowOrchid_StandUp_0 | Jump to HandlerYellowOrchid_StandUp_0. | ||
| Prev: 44666 | Up: Map | Next: 44705 |