| White Magic

| Use joystick one for these functions :

| Fire weapon      - Fire button
| Choose character - Stir
| Move left        - Stick left
| Move right       - Stick right
| Move up          - Stick up
| Move down        - Stick down

| Repeatedly 'stirring' the joystick will cycle
| through the four available characters

|---------------------------------------------------

| Define movement keys for joystick one
Z         = left_1
X         = right_1
/         = down_1
'         = up_1
return    = fire_1

| Track stir status in flag for use in test mode
setB_1    = stir_1
resetB_1  = ~stir_1

| Increment a counter in flags A_1/A_2 when stirred
setA_1   = ~flagA_1 . stir_1 . ~flagB_1
resetA_1 = flagA_1  . stir_1 . ~flagB_1
setA_2   = ~flagA_2 . flagA_1 . stir_1 . ~flagB_1
resetA_2 = flagA_2  . flagA_1 . stir_1 . ~flagB_1

| Simulate press of 1/2/3/4 keys depending on counter
1 = stir_1 . ~flagA_1 . ~flagA_2
2 = stir_1 .  flagA_1 . ~flagA_2
3 = stir_1 . ~flagA_1 .  flagA_2
4 = stir_1 .  flagA_1 .  flagA_2
