Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Chaos Spear Action => have each chaos spear cost energy (only when not in CB_lv2/3)
- Have Tails CPU always be replaced by Gamma CPU
- Make laser aiming timer infinite
- Disable all Gamma sounds
- Disable Gamma "5,4,3,2,1 sec left" textures
- Make Gamma laser invisible
- Make Gamma x1 / x2 etc all invisible
- Make Gamma red / yellow squares invisible
- Disable Gamma's timebonuses (sounds, effects and textures)
- if (Character is Sonic)
- {
- if (GameState == 4)
- {
- load normal shadow model
- go_back_to_gameplay = 0
- falling anim speed = normal
- CS_launch_was_played = false
- CS_charging_was_played = false
- CS_empty_was_played = false
- is_in_CS_state = false
- X_was_released = false
- Gamma position = 50000
- Allow all Sonic actions
- Remove controls on Gamma
- Remove Sonic invincible - flashing
- Put back Sonic's flashing visible
- has_homing_attacked = false
- }
- if (GameState == 15)
- {
- Make Gamma always invincible - flashing
- Gamma speed = 0
- Gamma action is falling
- Gamma animation is falling
- if (action == 14)
- {
- has_homing_attacked = true
- }
- if (action == 8 || is_on_ground || all the on ground animations || action = 6 ? )
- {
- has_homing_attacked = false
- }
- if ((animation == falling / jumping / trickflipping) && (action != spindashing / rolling / lightattacking / homingattacking) && !is_in_CS_state && !has_homing_attacked && !LIGHTATTACK_CHARGED)
- {
- if (X is held)
- {
- falling anim speed = 0
- action = falling
- animation = falling
- is_in_CS_state = true
- }
- }
- if (is_in_CS_state)
- {
- Gamma position is into Sonic
- Gamma rotation is Sonic's
- Disable all Sonic actions
- Freeze Sonic's position
- Sonic's speed = 0
- Remove gravity(for both characters)
- Allow controls on Gamma
- Make Sonic invincible - flashing
- if (Sonic's not flashing)
- {
- Make Sonic's flashing go-away
- }
- if (!CS_charging_was_played)
- {
- PlayVoice(chaos spear charging sound)
- CS_charging_was_played = true
- }
- if (!(X is held))
- {
- X_was_released = true
- }
- if (X_was_released)
- {
- //DO ALLLLLLLL THE SYSTEM I ORIGINALLY DID FOR MULTIPLE TARGET AND NUMBER OF TARGETS HE SHOOTS AT LIMITATION
- if (!CS_empty_was_played)
- {
- PlayVoice(empty sound)
- CS_empty_was_played = true
- }
- if (Gamma shoot address = 4 /*or 5?*/ && !CS_launch_was_played)
- {
- playsound(CS_launch)
- CS_launch_was_played = true
- }
- else go_back_to_gameplay = 30
- if (CS_launch_was_played)
- {
- ++go_back_to_gameplay
- do the model animation
- }
- if (go_back_to_gameplay == 30)
- {
- load normal shadow model
- go_back_to_gameplay = 0
- falling anim speed = normal
- CS_charging_was_played = false
- CS_launch_was_played = false
- CS_empty_was_played = false
- is_in_CS_state = false
- X_was_released = false
- action = 8
- //Do the flip animations after firing ?
- }
- }
- }
- else
- {
- Gamma Y position = 50000
- Reset Gravity
- Remove Sonic invincible - flashing
- Put back Sonic's flashing visible
- Remove Controls on Gamma
- Allow all Sonic's actions
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement