TILEMASTER2004 DATA V1
SCRIPT: 75
0 CheckFlagSwitch SFLAG  0 10  1 15  2 20
0 CM "ERROR (script 215): Invalid SFLAG " -SFLAG -NL
0 BREAK ABORT
10 GiveItem 276 1 -SHOW
0 AddKeyWords _Creatures 1101
0 GOTO N1000
15 GiveItem 75 10 -SHOW
0 AddKeyWords _Creatures 1102
0 GOTO N1000
20 M "This chest is empty.  Almost..."
0 AddKeyWords _Creatures 1103
1000 RemoveMapObj Item CPOS -DELETE
0 M "Something crawls out of a hatch in the bottom of the chest..."
0 Pause
0 EnterZM
0 SetRedraw 0
0 CreateTile 21 -REPLACE -COPY 21 -GID 53
0 AlterTiles 21 5 5
0 Party -STARTCHAR 2 -MOVEBYDEF 1900
0 Teleport 0 5 6
0 Party -GETOACHAR -SWAPPOS P1
0 DoKeyWord _Creatures
1101 NOOP
0 MakeMapObj C 100 4 5
0 MakeMapObj C 100 5 5
0 MakeMapObj C 100 6 5
0 MakeMapObj C 100 5 4
0 InitZMEnemies 4 -CREATURE 100
0 GOTO N1200
1102 NOOP
0 MakeMapObj C 14 4 5
0 MakeMapObj C 14 5 5
0 MakeMapObj C 14 6 5
0 MakeMapObj C 14 4 4
0 MakeMapObj C 14 5 4
0 MakeMapObj C 14 6 4
0 InitZMEnemies 6 -CREATURE 100
0 GOTO N1200
1103 NOOP
0 MakeMapObj C 76 3 5
0 MakeMapObj C 76 4 5
0 MakeMapObj C 76 5 5
0 MakeMapObj C 76 6 5
0 MakeMapObj C 76 7 5
0 MakeMapObj C 76 3 4
0 MakeMapObj C 76 4 4
0 MakeMapObj C 76 5 4
0 MakeMapObj C 76 6 4
0 MakeMapObj C 76 7 4
0 MakeMapObj C 76 3 3
0 MakeMapObj C 76 4 3
0 MakeMapObj C 76 5 3
0 MakeMapObj C 76 6 3
0 MakeMapObj C 76 7 3
0 InitZMEnemies 15 -CREATURE 100
1200 SetZMRetreat -CREATURE TARGET
0 SetRedraw 1
0 Party -CHECK N1210
0 BREAK END
1210 Party -SPLITENDTURNS
0 BREAK RESTART
1900 Def 6 6  4 6  7 6  3 6  8 6  2 6  5 7
