-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path0_00000_map.cos
2686 lines (2593 loc) · 94.2 KB
/
0_00000_map.cos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
* Autogenerated by the Creatures Map Editor
* For more info see http://cdn.creatures.net
* Addon file: deletes existing metarooms at the same place, same background name
* 3 metarooms, 258 rooms, 496 doors
doif mapw lt 50000
setv va01 50000
else
setv va01 mapw
endi
doif maph lt 50000
setv va02 50000
else
setv va02 maph
endi
mapd va01 va02
doif game "gpmeso" ne 1
setv game "mapeditortmp" addm 19153 4 1328 1300 "gp_junglev2"
mmsc 19817 654 ""
setv va00 addr game "mapeditortmp" 19221 19320 1212 1212 1265 1265
rtyp va00 6
rmsc 19270 1238 ""
setv game "mapeditortmp_600" va00
setv va00 addr game "mapeditortmp" 20354 20438 32 146 278 278
rtyp va00 0
rmsc 20396 155 ""
setv game "mapeditortmp_601" va00
setv va00 addr game "mapeditortmp" 19738 20354 32 32 278 278
rtyp va00 0
rmsc 20046 155 ""
setv game "mapeditortmp_602" va00
setv va00 addr game "mapeditortmp" 19419 19738 56 32 565 565
rtyp va00 0
rmsc 19578 310 ""
setv game "mapeditortmp_603" va00
setv va00 addr game "mapeditortmp" 19245 19419 273 56 565 565
rtyp va00 0
rmsc 19332 419 ""
setv game "mapeditortmp_604" va00
setv va00 addr game "mapeditortmp" 19169 19245 448 273 925 925
rtyp va00 0
rmsc 19207 686 ""
setv game "mapeditortmp_605" va00
setv va00 addr game "mapeditortmp" 19245 19555 610 617 925 925
rtyp va00 0
rmsc 19400 767 ""
setv game "mapeditortmp_606" va00
setv va00 addr game "mapeditortmp" 19555 20079 617 619 925 925
rtyp va00 0
rmsc 19817 771 ""
setv game "mapeditortmp_607" va00
setv va00 addr game "mapeditortmp" 20079 20386 747 747 925 926
rtyp va00 0
rmsc 20232 836 ""
setv game "mapeditortmp_608" va00
setv va00 addr game "mapeditortmp" 20079 20134 619 619 737 705
rtyp va00 0
rmsc 20106 662 ""
setv game "mapeditortmp_609" va00
setv va00 addr game "mapeditortmp" 19250 19426 565 565 610 614
rtyp va00 1
rmsc 19338 589 ""
setv game "mapeditortmp_610" va00
setv va00 addr game "mapeditortmp" 19426 19555 565 565 614 617
rtyp va00 1
rmsc 19490 591 ""
setv game "mapeditortmp_611" va00
setv va00 addr game "mapeditortmp" 19555 19779 565 565 617 618
rtyp va00 1
rmsc 19667 591 ""
setv game "mapeditortmp_612" va00
setv va00 addr game "mapeditortmp" 19779 19946 565 565 618 618
rtyp va00 1
rmsc 19862 591 ""
setv game "mapeditortmp_613" va00
setv va00 addr game "mapeditortmp" 19946 20079 565 565 618 619
rtyp va00 1
rmsc 20012 592 ""
setv game "mapeditortmp_614" va00
setv va00 addr game "mapeditortmp" 20156 20287 565 565 619 620
rtyp va00 5
rmsc 20221 592 ""
setv game "mapeditortmp_615" va00
setv va00 addr game "mapeditortmp" 20287 20392 565 565 620 621
rtyp va00 5
rmsc 20339 593 ""
setv game "mapeditortmp_616" va00
setv va00 addr game "mapeditortmp" 20327 20392 443 474 565 565
rtyp va00 0
rmsc 20359 504 ""
setv game "mapeditortmp_617" va00
setv va00 addr game "mapeditortmp" 20149 20327 453 443 565 565
rtyp va00 0
rmsc 20238 509 ""
setv game "mapeditortmp_618" va00
setv va00 addr game "mapeditortmp" 19738 20149 329 329 565 565
rtyp va00 0
rmsc 19943 447 ""
setv game "mapeditortmp_619" va00
setv va00 addr game "mapeditortmp" 19744 19887 278 278 329 329
rtyp va00 1
rmsc 19815 303 ""
setv game "mapeditortmp_620" va00
setv va00 addr game "mapeditortmp" 19887 20039 278 278 329 329
rtyp va00 1
rmsc 19963 303 ""
setv game "mapeditortmp_621" va00
setv va00 addr game "mapeditortmp" 20039 20186 278 278 329 329
rtyp va00 1
rmsc 20112 303 ""
setv game "mapeditortmp_622" va00
setv va00 addr game "mapeditortmp" 20186 20306 278 278 329 326
rtyp va00 5
rmsc 20246 302 ""
setv game "mapeditortmp_623" va00
setv va00 addr game "mapeditortmp" 20306 20376 278 278 326 310
rtyp va00 5
rmsc 20341 294 ""
setv game "mapeditortmp_624" va00
setv va00 addr game "mapeditortmp" 20376 20438 278 278 310 300
rtyp va00 5
rmsc 20407 289 ""
setv game "mapeditortmp_625" va00
setv va00 addr game "mapeditortmp" 19221 19684 970 972 1212 1212
rtyp va00 0
rmsc 19452 1091 ""
setv game "mapeditortmp_626" va00
setv va00 addr game "mapeditortmp" 19684 19754 1090 1032 1212 1212
rtyp va00 0
rmsc 19719 1151 ""
setv game "mapeditortmp_627" va00
setv va00 addr game "mapeditortmp" 19754 20059 1032 1045 1212 1212
rtyp va00 0
rmsc 19906 1122 ""
setv game "mapeditortmp_628" va00
setv va00 addr game "mapeditortmp" 20059 20082 1045 1083 1212 1204
rtyp va00 0
rmsc 20070 1124 ""
setv game "mapeditortmp_629" va00
setv va00 addr game "mapeditortmp" 19320 19494 1212 1212 1265 1265
rtyp va00 6
rmsc 19407 1238 ""
setv game "mapeditortmp_630" va00
setv va00 addr game "mapeditortmp" 19494 19619 1212 1212 1265 1269
rtyp va00 6
rmsc 19556 1240 ""
setv game "mapeditortmp_631" va00
setv va00 addr game "mapeditortmp" 19619 19691 1212 1212 1269 1258
rtyp va00 6
rmsc 19655 1235 ""
setv game "mapeditortmp_632" va00
setv va00 addr game "mapeditortmp" 19691 19785 1212 1212 1258 1272
rtyp va00 6
rmsc 19738 1242 ""
setv game "mapeditortmp_633" va00
setv va00 addr game "mapeditortmp" 19785 19891 1212 1212 1272 1267
rtyp va00 6
rmsc 19838 1239 ""
setv game "mapeditortmp_634" va00
setv va00 addr game "mapeditortmp" 19891 19992 1212 1212 1267 1271
rtyp va00 6
rmsc 19941 1241 ""
setv game "mapeditortmp_635" va00
setv va00 addr game "mapeditortmp" 19992 20030 1212 1212 1271 1252
rtyp va00 6
rmsc 20011 1232 ""
setv game "mapeditortmp_636" va00
setv va00 addr game "mapeditortmp" 19169 19258 925 925 970 970
rtyp va00 2
rmsc 19213 947 ""
setv game "mapeditortmp_637" va00
setv va00 addr game "mapeditortmp" 19258 19381 925 925 970 971
rtyp va00 1
rmsc 19319 948 ""
setv game "mapeditortmp_638" va00
setv va00 addr game "mapeditortmp" 19381 19517 925 925 971 971
rtyp va00 1
rmsc 19449 948 ""
setv game "mapeditortmp_639" va00
setv va00 addr game "mapeditortmp" 19517 19657 925 925 971 972
rtyp va00 1
rmsc 19587 948 ""
setv game "mapeditortmp_640" va00
setv va00 addr game "mapeditortmp" 19657 19695 925 925 972 972
rtyp va00 1
rmsc 19676 948 ""
setv game "mapeditortmp_641" va00
setv va00 addr game "mapeditortmp" 19695 19748 925 925 972 974
rtyp va00 5
rmsc 19721 949 ""
setv game "mapeditortmp_642" va00
setv va00 addr game "mapeditortmp" 19748 19799 925 925 974 970
rtyp va00 5
rmsc 19773 947 ""
setv game "mapeditortmp_643" va00
setv va00 addr game "mapeditortmp" 19799 19914 925 925 970 978
rtyp va00 5
rmsc 19856 951 ""
setv game "mapeditortmp_644" va00
setv va00 addr game "mapeditortmp" 19914 20028 925 925 978 982
rtyp va00 5
rmsc 19971 953 ""
setv game "mapeditortmp_645" va00
setv va00 addr game "mapeditortmp" 20028 20161 925 925 982 970
rtyp va00 5
rmsc 20094 947 ""
setv game "mapeditortmp_646" va00
setv va00 addr game "mapeditortmp" 20161 20260 925 926 970 964
rtyp va00 5
rmsc 20210 944 ""
setv game "mapeditortmp_647" va00
setv va00 addr game "mapeditortmp" 20260 20386 926 926 964 966
rtyp va00 5
rmsc 20323 946 ""
setv game "mapeditortmp_648" va00
setv va00 addr game "mapeditortmp" 19684 19723 988 1006 1063 1030
rtyp va00 0
rmsc 19703 1009 ""
setv game "mapeditortmp_649" va00
setv va00 addr game "mapeditortmp" 20079 20156 565 565 619 619
rtyp va00 0
rmsc 20117 592 ""
setv game "mapeditortmp_650" va00
setv va00 gmap 19641 2312
doif va00 <> -1
* check it is made from the same background
doif bkds va00 <> "gp_grendelmeso"
outs "background"
stop
endi
* Delete any map editor alerters still left over
enum 1 1 229
kill targ
next
* Check for any agents in the metaroom
enum 0 0 0
setv va32 attr
andv va32 32
doif va32 ne 32
doif targ ne pntr
doif gmap posx posy = va00 and carr = null
cmrt 0
seta va33 targ
new: comp 1 1 229 "blank" 1 0 9000
attr 32
frel va33
pat: fixd 1 "blank" 0 0 0 0 "whiteontransparentchars"
flto 0 30
part 1
ptxt "Map editor can't change this meta room; I'm still in it"
outs "agent"
stop
endi
endi
endi
next
* delete all the rooms in the meta room
sets va01 erid va00
doif strl va01 > 0
setv va03 1
sets va98 ""
loop
setv va99 char va01 va03
doif va99 = ' '
doif va98 <> ""
delr stoi va98
sets va98 ""
endi
else
sets va50 " "
char va50 1 va99
adds va98 va50
endi
addv va03 1
untl va03 > strl va01
doif va98 <> ""
delr stoi va98
sets va98 ""
endi
endi
* delete the metaroom itself
delm va00
endi
setv game "mapeditortmp" addm 18801 1306 1680 2012 "gp_grendelmeso"
mmsc 19641 2312 ""
setv va00 addr game "mapeditortmp" 19069 19660 1552 1552 1605 1607
rtyp va00 3
rmsc 19364 1579 ""
setv game "mapeditortmp_651" va00
setv va00 addr game "mapeditortmp" 19069 19608 1354 1362 1552 1552
rtyp va00 0
rmsc 19338 1453 ""
setv game "mapeditortmp_652" va00
setv va00 addr game "mapeditortmp" 19608 19660 1374 1435 1552 1552
rtyp va00 0
rmsc 19634 1463 ""
setv game "mapeditortmp_653" va00
setv va00 addr game "mapeditortmp" 19660 20072 1370 1370 1607 1610
rtyp va00 0
rmsc 19866 1490 ""
setv game "mapeditortmp_654" va00
setv va00 addr game "mapeditortmp" 20072 20445 1328 1328 1610 2027
rtyp va00 0
rmsc 20258 1677 ""
setv game "mapeditortmp_655" va00
setv va00 addr game "mapeditortmp" 18942 19069 1377 1354 1603 1605
rtyp va00 3
rmsc 19005 1491 ""
setv game "mapeditortmp_656" va00
setv va00 addr game "mapeditortmp" 19348 19524 1606 1607 1895 1893
rtyp va00 3
rmsc 19436 1749 ""
setv game "mapeditortmp_657" va00
setv va00 addr game "mapeditortmp" 19230 19348 1645 1709 1871 1871
rtyp va00 0
rmsc 19289 1758 ""
setv game "mapeditortmp_658" va00
setv va00 addr game "mapeditortmp" 18868 19019 1765 1646 1871 1871
rtyp va00 0
rmsc 18943 1818 ""
setv game "mapeditortmp_659" va00
setv va00 addr game "mapeditortmp" 18868 18960 1871 1871 1955 1968
rtyp va00 7
rmsc 18914 1919 ""
setv game "mapeditortmp_660" va00
setv va00 addr game "mapeditortmp" 18960 19128 1871 1871 1968 1966
rtyp va00 7
rmsc 19044 1918 ""
setv game "mapeditortmp_661" va00
setv va00 addr game "mapeditortmp" 19128 19260 1871 1871 1966 1931
rtyp va00 7
rmsc 19194 1901 ""
setv game "mapeditortmp_662" va00
setv va00 addr game "mapeditortmp" 19260 19348 1871 1871 1931 1895
rtyp va00 7
rmsc 19304 1883 ""
setv game "mapeditortmp_663" va00
setv va00 addr game "mapeditortmp" 19524 19665 1872 1872 1893 1936
rtyp va00 6
rmsc 19594 1904 ""
setv game "mapeditortmp_664" va00
setv va00 addr game "mapeditortmp" 19665 19817 1872 1872 1936 1937
rtyp va00 6
rmsc 19741 1904 ""
setv game "mapeditortmp_665" va00
setv va00 addr game "mapeditortmp" 19817 19955 1872 1872 1937 1921
rtyp va00 6
rmsc 19886 1896 ""
setv game "mapeditortmp_666" va00
setv va00 addr game "mapeditortmp" 19955 20007 1872 1872 1921 1918
rtyp va00 6
rmsc 19981 1895 ""
setv game "mapeditortmp_667" va00
setv va00 addr game "mapeditortmp" 19524 19720 1709 1644 1872 1872
rtyp va00 0
rmsc 19622 1790 ""
setv game "mapeditortmp_668" va00
setv va00 addr game "mapeditortmp" 19720 19877 1644 1644 1872 1872
rtyp va00 0
rmsc 19798 1758 ""
setv game "mapeditortmp_669" va00
setv va00 addr game "mapeditortmp" 19877 20007 1644 1706 1872 1872
rtyp va00 0
rmsc 19942 1758 ""
setv game "mapeditortmp_670" va00
setv va00 addr game "mapeditortmp" 19019 19230 1646 1645 1871 1871
rtyp va00 0
rmsc 19124 1758 ""
setv game "mapeditortmp_671" va00
setv va00 addr game "mapeditortmp" 19097 19361 2245 2245 2295 2291
rtyp va00 7
rmsc 19229 2268 ""
setv game "mapeditortmp_672" va00
setv va00 addr game "mapeditortmp" 19097 19361 2075 1939 2245 2245
rtyp va00 0
rmsc 19229 2160 ""
setv game "mapeditortmp_673" va00
setv va00 addr game "mapeditortmp" 19361 19524 1895 1893 2291 2293
rtyp va00 7
rmsc 19442 2094 ""
setv game "mapeditortmp_674" va00
setv va00 addr game "mapeditortmp" 19524 19704 1943 2023 2245 2245
rtyp va00 0
rmsc 19614 2094 ""
setv game "mapeditortmp_675" va00
setv va00 addr game "mapeditortmp" 19704 19872 2023 2017 2245 2245
rtyp va00 0
rmsc 19788 2134 ""
setv game "mapeditortmp_676" va00
setv va00 addr game "mapeditortmp" 19872 20068 2017 1945 2245 2245
rtyp va00 0
rmsc 19970 2131 ""
setv game "mapeditortmp_677" va00
setv va00 addr game "mapeditortmp" 20068 20258 1945 1995 2245 2245
rtyp va00 0
rmsc 20163 2095 ""
setv game "mapeditortmp_678" va00
setv va00 addr game "mapeditortmp" 20258 20409 1995 2177 2245 2245
rtyp va00 0
rmsc 20333 2120 ""
setv game "mapeditortmp_679" va00
setv va00 addr game "mapeditortmp" 19524 19628 2245 2245 2293 2302
rtyp va00 7
rmsc 19576 2273 ""
setv game "mapeditortmp_680" va00
setv va00 addr game "mapeditortmp" 19628 19858 2245 2245 2302 2302
rtyp va00 1
rmsc 19743 2273 ""
setv game "mapeditortmp_681" va00
setv va00 addr game "mapeditortmp" 19998 20409 2245 2245 2302 2302
rtyp va00 1
rmsc 20203 2273 ""
setv game "mapeditortmp_682" va00
setv va00 addr game "mapeditortmp" 19858 19998 2245 2245 2302 2302
rtyp va00 1
rmsc 19928 2273 ""
setv game "mapeditortmp_683" va00
setv va00 addr game "mapeditortmp" 18966 19131 2448 2340 2819 2816
rtyp va00 0
rmsc 19048 2632 ""
setv game "mapeditortmp_684" va00
setv va00 addr game "mapeditortmp" 19019 19131 2818 2816 2875 2856
rtyp va00 8
rmsc 19075 2837 ""
setv game "mapeditortmp_685" va00
setv va00 addr game "mapeditortmp" 19131 19185 2816 2816 2856 2845
rtyp va00 8
rmsc 19158 2830 ""
setv game "mapeditortmp_686" va00
setv va00 addr game "mapeditortmp" 19185 19414 2816 2816 2845 2830
rtyp va00 8
rmsc 19299 2823 ""
setv game "mapeditortmp_687" va00
setv va00 addr game "mapeditortmp" 19414 19505 2816 2816 2830 2821
rtyp va00 8
rmsc 19459 2818 ""
setv game "mapeditortmp_688" va00
setv va00 addr game "mapeditortmp" 18966 19019 2819 2818 2826 2867
rtyp va00 8
rmsc 18992 2843 ""
setv game "mapeditortmp_689" va00
setv va00 addr game "mapeditortmp" 19505 19628 2722 2722 2821 2801
rtyp va00 5
rmsc 19566 2761 ""
setv game "mapeditortmp_690" va00
setv va00 addr game "mapeditortmp" 19628 19768 2722 2722 2801 2801
rtyp va00 5
rmsc 19698 2761 ""
setv game "mapeditortmp_691" va00
setv va00 addr game "mapeditortmp" 19858 19998 2302 2302 2807 2815
rtyp va00 5
rmsc 19928 2558 ""
setv game "mapeditortmp_692" va00
setv va00 addr game "mapeditortmp" 19998 20234 2302 2302 2719 2718
rtyp va00 0
rmsc 20116 2510 ""
setv game "mapeditortmp_693" va00
setv va00 addr game "mapeditortmp" 19768 19858 2302 2302 2722 2722
rtyp va00 0
rmsc 19813 2512 ""
setv game "mapeditortmp_694" va00
setv va00 addr game "mapeditortmp" 19768 19799 2722 2722 2801 2789
rtyp va00 5
rmsc 19783 2755 ""
setv game "mapeditortmp_695" va00
setv va00 addr game "mapeditortmp" 19799 19858 2722 2722 2789 2807
rtyp va00 5
rmsc 19828 2764 ""
setv game "mapeditortmp_696" va00
setv va00 addr game "mapeditortmp" 19998 20126 2719 2718 2815 2805
rtyp va00 5
rmsc 20062 2762 ""
setv game "mapeditortmp_697" va00
setv va00 addr game "mapeditortmp" 20126 20234 2718 2718 2805 2779
rtyp va00 5
rmsc 20180 2748 ""
setv game "mapeditortmp_698" va00
setv va00 addr game "mapeditortmp" 19131 19505 2340 2326 2816 2816
rtyp va00 0
rmsc 19318 2578 ""
setv game "mapeditortmp_699" va00
setv va00 addr game "mapeditortmp" 19505 19628 2326 2320 2722 2722
rtyp va00 0
rmsc 19566 2524 ""
setv game "mapeditortmp_700" va00
setv va00 addr game "mapeditortmp" 19628 19768 2302 2302 2722 2722
rtyp va00 0
rmsc 19698 2512 ""
setv game "mapeditortmp_701" va00
setv va00 addr game "mapeditortmp" 19079 19256 3015 2951 3259 3267
rtyp va00 0
rmsc 19167 3141 ""
setv game "mapeditortmp_702" va00
setv va00 addr game "mapeditortmp" 19256 19404 2951 2983 3267 3271
rtyp va00 0
rmsc 19330 3111 ""
setv game "mapeditortmp_703" va00
setv va00 addr game "mapeditortmp" 19404 19776 2983 2895 3271 3279
rtyp va00 0
rmsc 19590 3131 ""
setv game "mapeditortmp_704" va00
setv va00 addr game "mapeditortmp" 19776 20113 2895 2943 3279 3271
rtyp va00 0
rmsc 19944 3083 ""
setv game "mapeditortmp_705" va00
setv va00 addr game "mapeditortmp" 20113 20169 2943 2995 3271 3243
rtyp va00 0
rmsc 20141 3093 ""
setv game "mapeditortmp_706" va00
setv va00 gmap 22030 3383
doif va00 <> -1
* check it is made from the same background
doif bkds va00 <> "gp_deserthideout"
outs "background"
stop
endi
* Delete any map editor alerters still left over
enum 1 1 229
kill targ
next
* Check for any agents in the metaroom
enum 0 0 0
setv va32 attr
andv va32 32
doif va32 ne 32
doif targ ne pntr
doif gmap posx posy = va00 and carr = null
cmrt 0
seta va33 targ
new: comp 1 1 229 "blank" 1 0 9000
attr 32
frel va33
pat: fixd 1 "blank" 0 0 0 0 "whiteontransparentchars"
flto 0 30
part 1
ptxt "Map editor can't change this meta room; I'm still in it"
outs "agent"
stop
endi
endi
endi
next
* delete all the rooms in the meta room
sets va01 erid va00
doif strl va01 > 0
setv va03 1
sets va98 ""
loop
setv va99 char va01 va03
doif va99 = ' '
doif va98 <> ""
delr stoi va98
sets va98 ""
endi
else
sets va50 " "
char va50 1 va99
adds va98 va50
endi
addv va03 1
untl va03 > strl va01
doif va98 <> ""
delr stoi va98
sets va98 ""
endi
endi
* delete the metaroom itself
delm va00
endi
setv game "mapeditortmp" addm 21280 2977 1500 812 "gp_deserthideout"
mmsc 22030 3383 ""
setv va00 addr game "mapeditortmp" 21292 21366 3400 3391 3510 3508
rtyp va00 7
rmsc 21329 3454 ""
setv game "mapeditortmp_707" va00
setv va00 addr game "mapeditortmp" 21292 21680 3211 3069 3400 3354
rtyp va00 0
rmsc 21486 3282 ""
setv game "mapeditortmp_708" va00
setv va00 addr game "mapeditortmp" 22065 22760 3027 3185 3309 3356
rtyp va00 0
rmsc 22412 3191 ""
setv game "mapeditortmp_709" va00
setv va00 addr game "mapeditortmp" 21366 21564 3391 3368 3508 3432
rtyp va00 7
rmsc 21465 3411 ""
setv game "mapeditortmp_710" va00
setv va00 addr game "mapeditortmp" 21564 21680 3368 3354 3432 3400
rtyp va00 7
rmsc 21622 3384 ""
setv game "mapeditortmp_711" va00
setv va00 addr game "mapeditortmp" 21680 21929 3354 3325 3400 3382
rtyp va00 7
rmsc 21804 3368 ""
setv game "mapeditortmp_712" va00
setv va00 addr game "mapeditortmp" 21929 22065 3325 3309 3382 3364
rtyp va00 7
rmsc 21997 3344 ""
setv game "mapeditortmp_713" va00
setv va00 addr game "mapeditortmp" 22065 22163 3309 3316 3364 3362
rtyp va00 7
rmsc 22114 3335 ""
setv game "mapeditortmp_714" va00
setv va00 addr game "mapeditortmp" 22163 22362 3316 3329 3362 3374
rtyp va00 7
rmsc 22262 3345 ""
setv game "mapeditortmp_715" va00
setv va00 addr game "mapeditortmp" 22362 22500 3329 3338 3374 3382
rtyp va00 7
rmsc 22431 3355 ""
setv game "mapeditortmp_716" va00
setv va00 addr game "mapeditortmp" 22500 22690 3338 3351 3382 3394
rtyp va00 7
rmsc 22595 3366 ""
setv game "mapeditortmp_717" va00
setv va00 addr game "mapeditortmp" 22690 22760 3351 3356 3394 3404
rtyp va00 7
rmsc 22725 3377 ""
setv game "mapeditortmp_718" va00
setv va00 addr game "mapeditortmp" 21398 21626 3547 3489 3701 3701
rtyp va00 0
rmsc 21512 3624 ""
setv game "mapeditortmp_719" va00
setv va00 addr game "mapeditortmp" 21626 21929 3489 3415 3701 3652
rtyp va00 0
rmsc 21777 3570 ""
setv game "mapeditortmp_720" va00
setv va00 addr game "mapeditortmp" 22065 22560 3383 3431 3613 3655
rtyp va00 0
rmsc 22312 3519 ""
setv game "mapeditortmp_721" va00
setv va00 addr game "mapeditortmp" 21929 22065 3382 3364 3687 3661
rtyp va00 7
rmsc 21997 3521 ""
setv game "mapeditortmp_722" va00
setv va00 addr game "mapeditortmp" 21398 21626 3701 3701 3747 3749
rtyp va00 7
rmsc 21512 3725 ""
setv game "mapeditortmp_723" va00
setv va00 addr game "mapeditortmp" 21626 21749 3701 3681 3749 3733
rtyp va00 7
rmsc 21687 3717 ""
setv game "mapeditortmp_724" va00
setv va00 addr game "mapeditortmp" 21749 21929 3681 3652 3733 3687
rtyp va00 7
rmsc 21839 3684 ""
setv game "mapeditortmp_725" va00
setv va00 addr game "mapeditortmp" 22065 22225 3613 3627 3661 3663
rtyp va00 7
rmsc 22145 3638 ""
setv game "mapeditortmp_726" va00
setv va00 addr game "mapeditortmp" 22225 22392 3627 3641 3663 3673
rtyp va00 7
rmsc 22308 3650 ""
setv game "mapeditortmp_727" va00
setv va00 addr game "mapeditortmp" 22392 22560 3641 3655 3673 3697
rtyp va00 7
rmsc 22476 3669 ""
setv game "mapeditortmp_728" va00
setv va00 addr game "mapeditortmp" 22560 22746 3431 3453 3697 3695
rtyp va00 0
rmsc 22653 3563 ""
setv game "mapeditortmp_729" va00
setv va00 addr game "mapeditortmp" 21680 22065 3069 3027 3354 3309
rtyp va00 0
rmsc 21872 3189 ""
setv game "mapeditortmp_730" va00
setv va00 gmap 21919 1488
doif va00 <> -1
* check it is made from the same background
doif bkds va00 <> "gp_mainworld"
outs "background"
stop
endi
* Delete any map editor alerters still left over
enum 1 1 229
kill targ
next
* Check for any agents in the metaroom
enum 0 0 0
setv va32 attr
andv va32 32
doif va32 ne 32
doif targ ne pntr
doif gmap posx posy = va00 and carr = null
cmrt 0
seta va33 targ
new: comp 1 1 229 "blank" 1 0 9000
attr 32
frel va33
pat: fixd 1 "blank" 0 0 0 0 "whiteontransparentchars"
flto 0 30
part 1
ptxt "Map editor can't change this meta room; I'm still in it"
outs "agent"
stop
endi
endi
endi
next
* delete all the rooms in the meta room
sets va01 erid va00
doif strl va01 > 0
setv va03 1
sets va98 ""
loop
setv va99 char va01 va03
doif va99 = ' '
doif va98 <> ""
delr stoi va98
sets va98 ""
endi
else
sets va50 " "
char va50 1 va99
adds va98 va50
endi
addv va03 1
untl va03 > strl va01
doif va98 <> ""
delr stoi va98
sets va98 ""
endi
endi
* delete the metaroom itself
delm va00
endi
setv game "mapeditortmp" addm 20483 0 2872 2976 "gp_mainworld"
mmsc 21919 1488 ""
setv va00 addr game "mapeditortmp" 20594 20700 602 390 619 619
rtyp va00 0
rmsc 20647 610 ""
setv game "mapeditortmp_731" va00
setv va00 addr game "mapeditortmp" 22968 23050 1480 1478 1945 1945
rtyp va00 0
rmsc 23009 1712 ""
setv game "mapeditortmp_732" va00
setv va00 addr game "mapeditortmp" 20649 20714 1333 1329 1444 1444
rtyp va00 0
rmsc 20681 1388 ""
setv game "mapeditortmp_733" va00
setv va00 addr game "mapeditortmp" 20649 20769 1444 1444 1482 1480
rtyp va00 5
rmsc 20709 1462 ""
setv game "mapeditortmp_734" va00
setv va00 addr game "mapeditortmp" 20714 21361 1292 1285 1444 1444
rtyp va00 0
rmsc 21037 1368 ""
setv game "mapeditortmp_735" va00
setv va00 addr game "mapeditortmp" 21361 21489 1174 1159 1487 1482
rtyp va00 0
rmsc 21425 1328 ""
setv game "mapeditortmp_736" va00
setv va00 addr game "mapeditortmp" 21489 22968 1275 1275 1444 1444
rtyp va00 0
rmsc 22228 1359 ""
setv game "mapeditortmp_737" va00
setv va00 addr game "mapeditortmp" 21361 21489 897 873 1174 1159
rtyp va00 0
rmsc 21425 1028 ""
setv game "mapeditortmp_738" va00
setv va00 addr game "mapeditortmp" 21489 21721 971 919 1128 1128
rtyp va00 0
rmsc 21605 1049 ""
setv game "mapeditortmp_739" va00
setv va00 addr game "mapeditortmp" 21721 22571 919 933 1128 1128
rtyp va00 0
rmsc 22146 1023 ""
setv game "mapeditortmp_740" va00
setv va00 addr game "mapeditortmp" 22832 22881 991 1069 1128 1128
rtyp va00 0
rmsc 22856 1059 ""
setv game "mapeditortmp_741" va00
setv va00 addr game "mapeditortmp" 22571 22832 933 991 1128 1128
rtyp va00 0
rmsc 22701 1030 ""
setv game "mapeditortmp_742" va00
setv va00 addr game "mapeditortmp" 21137 21361 997 975 1127 1127
rtyp va00 0
rmsc 21249 1062 ""
setv game "mapeditortmp_743" va00
setv va00 addr game "mapeditortmp" 21015 21137 976 997 1127 1127
rtyp va00 0
rmsc 21076 1051 ""
setv game "mapeditortmp_744" va00
setv va00 addr game "mapeditortmp" 20881 21015 1047 976 1127 1127
rtyp va00 0
rmsc 20948 1087 ""
setv game "mapeditortmp_745" va00
setv va00 addr game "mapeditortmp" 21148 21537 686 686 831 831
rtyp va00 0
rmsc 21342 758 ""
setv game "mapeditortmp_746" va00
setv va00 addr game "mapeditortmp" 21537 22325 83 79 831 831
rtyp va00 0
rmsc 21931 457 ""
setv game "mapeditortmp_747" va00
setv va00 addr game "mapeditortmp" 22325 23193 699 699 831 831
rtyp va00 0
rmsc 22759 765 ""
setv game "mapeditortmp_748" va00
setv va00 addr game "mapeditortmp" 22764 23210 2019 2069 2263 2263
rtyp va00 0
rmsc 22987 2141 ""
setv game "mapeditortmp_749" va00
setv va00 addr game "mapeditortmp" 20700 20913 390 187 619 619
rtyp va00 0
rmsc 20806 504 ""
setv game "mapeditortmp_750" va00
setv va00 addr game "mapeditortmp" 20913 21165 187 75 619 619
rtyp va00 0
rmsc 21039 403 ""
setv game "mapeditortmp_751" va00
setv va00 addr game "mapeditortmp" 21165 21537 75 83 619 619
rtyp va00 0
rmsc 21351 347 ""
setv game "mapeditortmp_752" va00
setv va00 addr game "mapeditortmp" 22732 22764 1973 2019 2133 2133
rtyp va00 0
rmsc 22748 2053 ""
setv game "mapeditortmp_753" va00
setv va00 addr game "mapeditortmp" 22325 22677 79 75 624 624
rtyp va00 0
rmsc 22501 351 ""
setv game "mapeditortmp_754" va00
setv va00 addr game "mapeditortmp" 22677 23030 75 267 624 624
rtyp va00 0
rmsc 22853 349 ""
setv game "mapeditortmp_755" va00
setv va00 addr game "mapeditortmp" 23030 23193 267 478 624 624
rtyp va00 0
rmsc 23111 445 ""
setv game "mapeditortmp_756" va00
setv va00 addr game "mapeditortmp" 22213 22732 1967 1966 2133 2133
rtyp va00 0
rmsc 22472 2050 ""
setv game "mapeditortmp_757" va00
setv va00 addr game "mapeditortmp" 21492 22213 1963 1967 2263 2263
rtyp va00 0
rmsc 21852 2113 ""
setv game "mapeditortmp_758" va00
setv va00 addr game "mapeditortmp" 22213 22764 2182 2177 2263 2263
rtyp va00 0
rmsc 22488 2222 ""
setv game "mapeditortmp_759" va00
setv va00 addr game "mapeditortmp" 21263 21492 2179 1971 2263 2263
rtyp va00 0
rmsc 21377 2221 ""
setv game "mapeditortmp_760" va00
setv va00 addr game "mapeditortmp" 21078 21263 2157 2179 2263 2263
rtyp va00 0
rmsc 21170 2210 ""
setv game "mapeditortmp_761" va00
setv va00 addr game "mapeditortmp" 20894 21078 2019 2157 2263 2263
rtyp va00 0
rmsc 20986 2141 ""
setv game "mapeditortmp_762" va00
setv va00 addr game "mapeditortmp" 20786 20894 1867 1894 2344 2377
rtyp va00 0
rmsc 20840 2122 ""
setv game "mapeditortmp_763" va00
setv va00 addr game "mapeditortmp" 20786 20894 1481 1485 1867 1894
rtyp va00 0
rmsc 20840 1687 ""
setv game "mapeditortmp_764" va00
setv va00 addr game "mapeditortmp" 20786 20894 2344 2377 2858 2854
rtyp va00 10
rmsc 20840 2599 ""
setv game "mapeditortmp_765" va00
setv va00 addr game "mapeditortmp" 22968 23050 897 899 1480 1478
rtyp va00 0
rmsc 23009 1187 ""
setv game "mapeditortmp_766" va00
setv va00 addr game "mapeditortmp" 20663 20743 2727 2534 2851 2851
rtyp va00 10
rmsc 20703 2789 ""
setv game "mapeditortmp_767" va00
setv va00 addr game "mapeditortmp" 20743 20786 2534 2524 2851 2858
rtyp va00 10
rmsc 20764 2696 ""
setv game "mapeditortmp_768" va00
setv va00 addr game "mapeditortmp" 20894 20942 2558 2520 2854 2857
rtyp va00 10
rmsc 20918 2707 ""
setv game "mapeditortmp_769" va00
setv va00 addr game "mapeditortmp" 20942 21063 2520 2525 2857 2857
rtyp va00 10
rmsc 21002 2688 ""
setv game "mapeditortmp_770" va00
setv va00 addr game "mapeditortmp" 21063 21209 2525 2538 2857 2862
rtyp va00 10
rmsc 21136 2693 ""
setv game "mapeditortmp_771" va00
setv va00 addr game "mapeditortmp" 21209 21321 2538 2525 2862 2861
rtyp va00 10
rmsc 21265 2699 ""
setv game "mapeditortmp_772" va00
setv va00 addr game "mapeditortmp" 21321 21440 2525 2545 2861 2846
rtyp va00 10
rmsc 21380 2685 ""
setv game "mapeditortmp_773" va00
setv va00 addr game "mapeditortmp" 21440 21655 2545 2574 2840 2840
rtyp va00 10
rmsc 21547 2692 ""
setv game "mapeditortmp_774" va00
setv va00 addr game "mapeditortmp" 21615 21655 2840 2840 2870 2845
rtyp va00 8
rmsc 21635 2842 ""
setv game "mapeditortmp_775" va00
setv va00 addr game "mapeditortmp" 21561 21615 2840 2840 2882 2870
rtyp va00 8
rmsc 21588 2855 ""
setv game "mapeditortmp_776" va00
setv va00 addr game "mapeditortmp" 21508 21561 2840 2840 2873 2882
rtyp va00 8
rmsc 21534 2861 ""
setv game "mapeditortmp_777" va00
setv va00 addr game "mapeditortmp" 21440 21508 2840 2840 2846 2873
rtyp va00 8
rmsc 21474 2856 ""
setv game "mapeditortmp_778" va00
setv va00 addr game "mapeditortmp" 21936 22019 2593 2541 2808 2848
rtyp va00 8
rmsc 21977 2720 ""
setv game "mapeditortmp_779" va00
setv va00 addr game "mapeditortmp" 22019 22096 2541 2497 2848 2858
rtyp va00 8
rmsc 22057 2699 ""
setv game "mapeditortmp_780" va00
setv va00 addr game "mapeditortmp" 22096 22162 2384 2384 2858 2840
rtyp va00 8
rmsc 22129 2612 ""
setv game "mapeditortmp_781" va00
setv va00 addr game "mapeditortmp" 22162 22221 2384 2384 2840 2846
rtyp va00 8
rmsc 22191 2615 ""
setv game "mapeditortmp_782" va00
setv va00 addr game "mapeditortmp" 22221 22248 2384 2384 2846 2857
rtyp va00 8
rmsc 22234 2620 ""
setv game "mapeditortmp_783" va00
setv va00 addr game "mapeditortmp" 22283 22406 2598 2598 2857 2857
rtyp va00 8
rmsc 22344 2727 ""
setv game "mapeditortmp_784" va00
setv va00 addr game "mapeditortmp" 22406 22643 2598 2598 2857 2865
rtyp va00 8
rmsc 22524 2731 ""
setv game "mapeditortmp_785" va00
setv va00 addr game "mapeditortmp" 22643 22865 2598 2598 2865 2863
rtyp va00 8
rmsc 22754 2730 ""
setv game "mapeditortmp_786" va00
setv va00 addr game "mapeditortmp" 22865 22894 2598 2597 2863 2835
rtyp va00 8
rmsc 22879 2716 ""
setv game "mapeditortmp_787" va00
setv va00 addr game "mapeditortmp" 22777 22894 2550 2578 2598 2597
rtyp va00 8
rmsc 22835 2573 ""
setv game "mapeditortmp_788" va00
setv va00 addr game "mapeditortmp" 22711 22777 2586 2550 2598 2598
rtyp va00 8
rmsc 22744 2592 ""
setv game "mapeditortmp_789" va00
setv va00 addr game "mapeditortmp" 22469 22604 2527 2582 2598 2598
rtyp va00 8
rmsc 22536 2562 ""
setv game "mapeditortmp_790" va00
setv va00 addr game "mapeditortmp" 22327 22469 2589 2527 2598 2598
rtyp va00 8
rmsc 22398 2593 ""
setv game "mapeditortmp_791" va00
setv va00 addr game "mapeditortmp" 22283 22327 2567 2589 2598 2598
rtyp va00 8
rmsc 22305 2582 ""
setv game "mapeditortmp_792" va00
setv va00 addr game "mapeditortmp" 22248 22283 2384 2384 2857 2857
rtyp va00 8
rmsc 22265 2620 ""
setv game "mapeditortmp_793" va00