#include ACTION.H
#include SHAPEDEF.H
#include OBJ-ALL.H
#include EXTRAS.H

[win]
code = 0
message = -1,2532
action = actCheckPlayerHPLow,SID_ENEMY059,1,0
action = actSetPlayerPosToRandom0,SID_ENEMY059,1
action = actMessage,SID_ENEMY059,1,1081,actDelay,10
action = actInsertStoryObjectRandomPos,17,0,0,0
action = actDelay,5,actDeleteRandomPosObject,0,16,5
action = actDelay,30,actMessage,SID_SONIA,1,1082,actDelay,10
action = actMessage,SID_UNIVERSE,1,1083,actDelay,10
action = actKeepPlayerST,actEnterStorageWindow
action = actSetNextPlayLevelEvent,59,59
; -----------------------------------------------------------------
[fail]
code = 0
message = SID_UNIVERSE,122
action = actCheckPlayer,1,SID_UNIVERSE

[fail]
code = 1
message = SID_DRAGON,122
action = actCheckPlayer,1,SID_DRAGON

[fail]
code = 2
message = SID_SONIA,122
action = actCheckPlayer,1,SID_SONIA
; ----------------------------------------------------------------
[event]
code = 0
message = -1,2496
action = actCheckPlayerHPLow,SID_ENEMY056,1,0
action = actMessage,SID_ENEMY056,1,1066,actDelay,10
action = actSetPlayerPosToRandom0,SID_ENEMY056,1
action = actInsertStoryObjectRandomPos,17,0,0,0
action = actDelay,2,actDeleteRandomPosObject,0,16,5
action = actDelay,5,actInsertObjectRandomPos,95,0,0,0
action = actDelay,40,actSetPlayerUndead,SID_ENEMY059,1,1
action = actMessage,SID_ENEMY059,1,1067,actDelay,10
action = actMessage,SID_UNIVERSE,1,1068,actDelay,10
action = actMessage,SID_ENEMY059,1,1069,actDelay,10
action = actMessage,SID_UNIVERSE,1,1070,actDelay,10
action = actMessage,SID_ENEMY059,1,1071,actDelay,10
action = actMessage,SID_UNIVERSE,1,1072,actDelay,10
action = actMessage,SID_ENEMY059,1,1073,actDelay,10
action = actMessage,SID_UNIVERSE,1,1074,actDelay,10
action = actMessage,SID_SONIA,1,1075,actDelay,10
action = actMessageIfExist,SID_UNIVERSE,1,0,1076,1,SID_CHANGEBOW
action = actMessage,SID_CHANGEBOW,1,1076,actDelay,10
action = actMessage,SID_DRAGON,1,742,actDelay,10
action = actMessage,SID_ENEMY059,1,1077,actDelay,10
action = actInsertWinStatus,0,actShowWinFailStatus

[event]
code = 1
action = actCheckPlayerHPLow,SID_SUPERCLASS,1,0
action = actChangeShape,SID_SUPERCLASS,1,1,SHAPE\013-p.SHP,1
action = actMessage,SID_SUPERCLASS,1,766,actDelay,10
action = actDeleteObject,SID_SUPERCLASS,1
action = actMessage,SID_DRAGON,1,767,actDelay,10
action = actDeletePlayerCode,SID_SUPERCLASS,0
action = actExecWinFailProcess

[event]
code = 2
action = actCheckPlayerHPLow,SID_CHANGEBOW,1,0
action = actChangeShape,SID_CHANGEBOW,1,1,SHAPE\014-p.SHP,1
action = actMessage,SID_CHANGEBOW,1,768,actDelay,10
action = actDeleteObject,SID_CHANGEBOW,1
action = actMessage,SID_SONIA,1,769,actDelay,10
action = actDeletePlayerCode,SID_CHANGEBOW,0
action = actExecWinFailProcess

[event]
code = 3
action = actCheckPlayerHPLow,SID_ANLAN,1,0
action = actChangeShape,SID_ANLAN,1,1,SHAPE\015-p.SHP,1
action = actMessage,SID_ANLAN,1,770,actDelay,10
action = actDeleteObject,SID_ANLAN,1
action = actMessage,SID_UNIVERSE,1,771,actDelay,10
action = actDeletePlayerCode,SID_ANLAN,0
action = actExecWinFailProcess

[event]
code = 4
action = actCheckPlayerHPLow,SID_BREEZE,1,0
action = actChangeShape,SID_BREEZE,1,1,SHAPE\016-p.SHP,1
action = actMessage,SID_BREEZE,1,772,actDelay,10
action = actDeleteObject,SID_BREEZE,1
action = actMessage,SID_UNNAME,1,773,actDelay,10
action = actDeletePlayerCode,SID_BREEZE,0
action = actExecWinFailProcess

[event]
code = 5
action = actCheckPlayerHPLow,SID_UNNAME,1,0
action = actChangeShape,SID_UNNAME,1,1,SHAPE\008-p.SHP,1
action = actMessage,SID_UNNAME,1,772,actDelay,10
action = actMessage,SID_DRAGON,1,772,actDelay,10
action = actDeleteObject,SID_UNNAME,1
action = actMessage,SID_BREEZE,1,773,actDelay,10
action = actDeletePlayerCode,SID_BREEZE,0
action = actExecWinFailProcess

[event]
code = 6
action = actCheckPlayerHPLow,SID_ANGELINA,1,0
action = actChangeShape,SID_ANGELINA,1,1,SHAPE\053-p.SHP,1
action = actMessage,SID_ANGELINA,1,774,actDelay,10
action = actDeleteObject,SID_ANGELINA,1
action = actMessage,SID_BREEZE,1,775,actDelay,10
action = actDeletePlayerCode,SID_ANGELINA,0
action = actExecWinFailProcess

[event]
code = 7
action = actCheckPlayerAttacked,SID_UNIVERSE,SID_ENEMY056
action = actMessage,SID_ENEMY056,1,847,actDelay,10
action = actMessage,SID_UNIVERSE,1,848,actDelay,10
action = actExecWinFailProcess

[event]
code = 8
action = actCheckPlayerAttacked,SID_DRAGON,SID_ENEMY056
action = actMessage,SID_DRAGON,1,1060,actDelay,10
action = actMessage,SID_ENEMY056,1,1061,actDelay,10
action = actExecWinFailProcess

[event]
code = 9
action = actCheckPlayerAttacked,SID_SONIA,SID_ENEMY056
action = actMessage,SID_SONIA,1,1062,actDelay,10
action = actMessage,SID_ENEMY056,1,1063,actDelay,10
action = actExecWinFailProcess

[event]
code = 10
action = actCheckPlayerAttacked,SID_SUPERCLASS,SID_ENEMY056
action = actMessage,SID_SUPERCLASS,1,1079,actDelay,10
action = actMessage,SID_ENEMY056,1,1080,actDelay,10
action = actExecWinFailProcess

[event]
code = 11
action = actCheckPlayerAttacked,SID_UNNAME,SID_ENEMY056
action = actMessage,SID_UNNAME,1,1064,actDelay,10
action = actMessage,SID_ENEMY056,1,1065,actDelay,10
action = actExecWinFailProcess