Shocked: Difference between revisions

3 bytes removed ,  7 October 2023
fix format
(Created page with "{{Action_infobox |title= Shocked |image= |official name= |hex= 0x00020338 |flags= stationary | invulnerable |group= Cutscene |id= 0x138 |into= Cutscene cancel: Quicksand De...")
 
(fix format)
 
Line 12: Line 12:
|related= [[Electrocution]]
|related= [[Electrocution]]
}}
}}
'''Shocked''' is an action that occurs when interacting with an [[Amp]]. This action cannot be interrupted until it finishes, (except by the cutscene cancel [[Quicksand Death]])
'''Shocked''' is an action that occurs when interacting with an [[Amp]]. This action cannot be interrupted until it finishes, (except by the cutscene cancel [[Quicksand Death]])


## Behavior
== Behavior ==
 
(cutscene) cancel as always
(cutscene) cancel as always
Then:
Then:
# Action arg: 0 (hasn't landed)
# Action arg: 0 (hasn't landed)
## Play WAAAOOOOW sound if no flag
## Play WAAAOOOOW sound if no flag
Line 31: Line 27:
## Stop and set height to floor
## Stop and set height to floor
## Once the animation has finished for 6 frames, if health < 0x0100, die ([[Electrocution]]) else [[Idle]]
## Once the animation has finished for 6 frames, if health < 0x0100, die ([[Electrocution]]) else [[Idle]]
(return false, exiting the action loop, even if action was changed)
(return false, exiting the action loop, even if action was changed)
{{Actions}}
{{Actions}}
188

edits