TILEMASTER2004 DATA V1
SCRIPT: 75
0 SetRedraw 0
0 DBG "DBG: Running map start script"
0 CCheckPos -MAP 425 -TAG 10
0 Check ENCTAB == 0 11
10 AddKeyWords _InitOnce 900
0 GOTO 100
11 AddKeyWords _InitOnce 801
100 CCheckPos -MAP 401 -TAG 110 -MAP 424 -TAG 120
0 GOTO 500
110 Util -TRIGGERLIST 401
0 CCheckPos -POS 3 10 -TAG 111
0 CheckTriggerDone 1 111
0 GOTO 112
111 MakeMapObj Location 21 3 10 425 3 8
0 SetTrigger 1 DONE 1
112 GOTO 600
120 MakeMapObj Location 15 15 15 425 4 12
500 CCheckPos -MAP 421 -MAP 422 -MAP 423 -MAP 424 -NOT -TAG 600
0 RunTemplateCommands -SETCOMMAND 550 -ARGS 1 1 2 21 22 8 9 20
0 RunTemplateCommands -SETCOMMAND 551 -ARGS 1 1 2 21 22 8 9 20
0 RunTemplateCommands -SETCOMMAND 552 -ARGS 1 20
0 CreateFrame 111 -REPLACE -COPY 111
0 EditFrame 111 -COLOR 96 96 96 -REPCOLOR 168 84 0
0 CreateTile 111 -REPLACE -COPY 111 -NAME "Dark rock and ash ground"
0 Set ZMSTARTSCRIPT 339
0 GOTO 600
550 CreateVFrame $ARG -REPLACE -COPY $ARG
551 EditVFrame $ARG -ADJICOLORS A -128 -192 -192 -TRANSP 0 -ADJICOLORS A 1 0 0
552 EditVFrame $ARG -GETIMAGE 2 -ADJICOLORS A -128 -192 -192 -TRANSP 0 -ADJICOLORS A 1 0 0
600 CCheckPos -MAP 405 -MAP 406 -MAP 407 -MAP 408 -TAG 601 -MAP 409 -MAP 410 -MAP 411 -MAP 412 -TAG 602 -MAP 413 -MAP 414 -MAP 415 -MAP 416 -TAG 603 -MAP 417 -MAP 418 -MAP 419 -MAP 420 -TAG 604 -MAP 421 -MAP 422 -MAP 423 -MAP 424 -TAG 605 -MAP 425 -TAG 700
0 Util -ENCTABLE 401
0 GOTO 700
601 Util -ENCTABLE 405
0 GOTO 700
602 Util -ENCTABLE 409
0 GOTO 700
603 Util -ENCTABLE 413
0 GOTO 700
604 Util -ENCTABLE 417
0 GOTO 700
605 Util -ENCTABLE 421
700 CCheckPos -MAP 421 -MAP 422 -MAP 423 -MAP 424 -MAP 425 -NOT -TAG 800
0 CreateFrame 1025 -LOAD 1025.til
0 EditFrame 1025 -COLOR 96 96 96 -REPCOLOR 96 128 0
0 CreateTile 1025 -COPY 70 -FRAME 0 1025
0 CreateVFrame 1000 -COPY 200
0 EditVFrame 1000 -ILOAD 1025.til
0 CreateVTile 1000 -COPY 100 -FRAME 0 0 1000
0 CreateCreatureDef 1 -COPY 62 -NAME "Lava Creature" -TILE 1025 -VTILE 1000 -TCAP 1016 -AREFFECT 31 -EGROUP 2 -TREASURE 0 -APPLY -TEMPDEF
0 CreateVFrame 200 -REPLACE -COPY 200
0 EditVFrame 200 -COLOR 96 96 96 -REPICOLOR 96 128 0
0 CreateFrame 13 -REPLACE -COPY 13
0 EditFrame 13 -COLOR 96 96 96 -REPCOLOR 96 128 0
0 CreateCreatureDef 11 -REPLACE -COPY 11 -NAME "Deep Goblin" -HP 8 -AC 70 -EGROUP 2
0 CreateVFrame 1001 -COPY 200
0 EditVFrame 1001 -ILOAD 12.til
0 CreateVTile 1001 -COPY 100 -FRAME 0 0 1001
0 CreateCreatureDef 66 -REPLACE -COPY 66 -VTILE 1001 -APPLY -TEMPDEF
800 DoKeyWord _InitOnce
801 CCheckPos -MAP 401 -TAG 815 -MAP 408 -TAG 812 -MAP 421 -TAG 810 -MAP 424 -TAG 811
0 GOTO 900
810 NOOP
0 MakeMapObj Creature 1 5 5 0 -DELAY
0 MakeMapObj Creature 11 9 9 0 -DELAY
0 MakeMapObj Creature 66 9 5 0 -DELAY
0 GOTO 900
811 NOOP
0 MakeMapObj Item 56 1 4 -TRTAB 6 A 242 1 A 1 687 A 26 1 A 73 1 A 187 1 A 37 1
0 GOTO 900
812 NOOP
0 MakeMapObj Item 50 0 15 -TRAP 39 -TRTAB 1 A 1 1
0 MakeMapObj Item 50 7 8 -TRTAB 3 A 111 1 A 110 2 A 1 399
0 GOTO 900
815 SetDarkness LIGHT
900 BREAK
