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

[win]
code = 0
message = -1,362
action = actCheckEnemy,2,SID_DRAGON,SID_ENEMY054
action = actMessage,SID_BREEZE,1,1959,actDelay,10
action = actMessage,SID_SONIA,1,1960,actDelay,20
action = actMessage,SID_BREEZE,1,1961,actDelay,20
action = actBMSetPointEvent,29,534,bmpmVisit
action = actBMSetPointEncounterRatio,29,100
action = actBMSetPointFlag,30,bmpmHidden
action = actBMSetTrackFlag,28,bmpmHidden
action = actSetBMWalkerPlayerID,SID_UNIVERSE
action = actSetNextPlayLevelEvent,29,70
; -----------------------------------------------------------------
[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_ENEMY054,122
action = actCheckPlayer,1,SID_ENEMY054

[fail]
code = 3
message = SID_BREEZE,122
action = actCheckPlayer,1,SID_BREEZE
; ----------------------------------------------------------------
[event]
code = 0
message = -1,1434
action = actCheckPlayerHPLow,SID_BREEZE,1,0
action = actMessage,SID_BREEZE,1,1947,actDelay,10
action = actInsertStoryObject,obj_Story_Player1,160,-64
action = actInsertStoryObject,obj_Story_Player3,224,-64
action = actInsertStoryObject,obj_Story_Player4,32,-96
action = actInsertStoryObject,obj_Story_Player5,96,-96
action = actInsertStoryObject,188,160,-64
action = actWalk,SID_SONIA,1,320,64,8
action = actWalk,SID_SUPERCLASS,1,64,32,8
action = actWalk,SID_CHANGEBOW,1,128,64,8
action = actWalk,SID_ANGELINA,1,256,32,8
action = actWalkWait,SID_UNIVERSE,1,224,96,8
action = actSetPlayerMode,SID_ENEMY054,1,pmEnemy,0
action = actSetPlayerMode,SID_DRAGON,1,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY023,1,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY023,2,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY023,3,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY023,4,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY024,1,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY024,2,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY027,1,pmEnemy,0
action = actSetPlayerMode,SID_ENEMY027,2,pmEnemy,0
action = actMessage,SID_SONIA,1,1948,actDelay,10
action = actMessage,SID_UNIVERSE,1,1949,actDelay,10
action = actMessage,SID_DRAGON,1,1950,actDelay,10
action = actMessage,SID_SONIA,1,1951,actDelay,20
action = actMessage,SID_SUPERCLASS,1,1952,actDelay,10
action = actMessage,SID_ENEMY054,1,1953,actDelay,10
action = actMessage,SID_UNIVERSE,1,1954,actDelay,10
action = actMessage,SID_ENEMY054,1,380,actDelay,10
action = actSetPlayerUndead,SID_BREEZE,1,0
action = actSetPlayerUndead,SID_ENEMY054,1,1
action = actSetPlayerUndead,SID_DRAGON,1,1
action = actScrollBGToObject,SID_BREEZE,1
action = actUseItem,SID_BREEZE,1,300
action = actRestoreShape,SID_BREEZE,1
action = actSetPlayerMode,SID_BREEZE,1,pmPlayer,0
action = actSetPlayerMode,1000,1,pmPlayer,0
action = actSetPlayerMode,SID_ENEMY044,1,pmNPCPlayer,0
action = actSetPlayerMode,SID_ENEMY044,2,pmNPCPlayer,0
action = actSetPlayerMode,SID_ENEMY044,3,pmNPCPlayer,0
action = actSetPlayerMode,SID_ENEMY044,4,pmNPCPlayer,0
action = actSetPlayerMode,SID_ENEMY048,1,pmNPCPlayer,0
action = actSetPlayerMode,SID_ENEMY048,2,pmNPCPlayer,0
action = actSetPlayerMode,SID_ENEMY048,3,pmNPCPlayer,0
action = actDeleteFailStatus,1,actDeleteFailStatus,2
action = actInsertFailStatus,0,actInsertFailStatus,3
action = actInsertEventStatus,1,actInsertEventStatus,2
action = actInsertWinStatus,0,actShowWinFailStatus

[event]
code = 1
action = actCheckPlayerHPLow,SID_DRAGON,1,0
action = actMessage,SID_DRAGON,1,1955
action = actSetPlayerUndead,SID_DRAGON,1,0
action = actWalkAndDeleteWait,SID_DRAGON,1,992,576,8
action = actExecWinFailProcess

[event]
code = 2
action = actCheckPlayerHPLow,SID_ENEMY054,1,0
action = actMessage,SID_ENEMY054,1,1956
action = actWalkAndDeleteWait,SID_ENEMY054,1,992,544,8
action = actExecWinFailProcess

[event]
code = 3
action = actCheckPlayerAttacked,SID_UNIVERSE,SID_DRAGON
action = actMessage,SID_UNIVERSE,1,1957,actDelay,10
action = actMessage,SID_DRAGON,1,1958,actDelay,10
action = actDeleteEventStatus,4,actExecWinFailProcess

[event]
code = 4
action = actCheckPlayerAttacked,SID_DRAGON,SID_UNIVERSE
action = actMessage,SID_UNIVERSE,1,1957,actDelay,10
action = actMessage,SID_DRAGON,1,1958,actDelay,10
action = actDeleteEventStatus,3,actExecWinFailProcess

[event]
code = 5
message = -1,1434
action = actCheckEnemyTotalNumber,5
action = actDeleteEventStatus,6
action = actInsertEventStatus,0
action = actExecWinFailProcess

[event]
code = 6
action = actCheckPlayerHPLow,SID_BREEZE,1,0
action = actUseItem,SID_BREEZE,1,243
action = actRestoreShape,SID_BREEZE,1
action = actInsertEventStatus,6