OSDN Git Service

ユニット出現をスクリプトだけ搭載、動作は未完成
authorKillery <Killery@kiritani-no-Mac-mini.local>
Wed, 15 Jul 2015 00:06:23 +0000 (09:06 +0900)
committerKillery <Killery@kiritani-no-Mac-mini.local>
Wed, 15 Jul 2015 00:06:23 +0000 (09:06 +0900)
Awars III/MapEditor.h
Awars III/MapEditor.m
Awars III/MapView.h
Awars III/MapView.m
Awars III/en.lproj/MainMenu.xib

index 7648752..c3e1946 100644 (file)
@@ -10,6 +10,7 @@
 #import "ChipView.h"
 #import "SeedView.h"
 #import "MapView.h"
+#import "LoadChipList.h"
 
 struct _MAPSCRIPT0;
 
@@ -51,12 +52,28 @@ typedef struct _MAPSCRIPT2{
     
 }MAPSCRIPT2;
 
+typedef struct _MAPSCRIPT3{
+
+    struct _MAPSCRIPT3 *next;
+    
+    int x;
+    int y;
+    bool flag;
+    
+    int type;
+    
+    UNITCHIP U;
+    int unitNum;
+
+}MAPSCRIPT3;
+
 typedef struct _MAPSCRIPT0{
     struct _MAPSCRIPT0 *next;
     
     int type;
     struct _MAPSCRIPT1 S1;
     struct _MAPSCRIPT2 *S2;
+    struct _MAPSCRIPT3 *S3;
     int indent;
     
     NSString *label;
@@ -198,7 +215,13 @@ MAPSCRIPTD *msdtop;//スクリプト上の先頭
 bool Suicchi[9999];
 bool SuicchiONOFFsentakuflag;
 bool SuicchiSentakuflag;
-int Hensuu[9999];
+int HensuuNum;
+int Hensuu[65000];
+int HensuuMin;
+int HensuuMax;
+NSString *HensuuName[65000];
+NSInteger EDvarHensuSet1Row;
+bool hensuuFlag;
 
 bool selectionDBLclickFlag;
 bool suicchiDBLslickFlag;
@@ -206,6 +229,7 @@ bool timerDBLslickFlag;
 bool labelDBLclickFlag;
 bool labeljumpDBLclickFlag;
 bool memoDBLclickFlag;
+bool appearDBLclickFlag;
 
 int *ichijihensuS1;
 
@@ -219,6 +243,13 @@ int playerSet2;
 NSRect scCenter;
 NSInteger headerFrame;
 
+bool EDappearFlag;
+bool EDappearPosFlag;
+int EDappearListRow;
+int EDappearListRow2;
+MAPSCRIPT0 *MS0T;
+MAPSCRIPT3 *MS3T;
+
 bool fuckingRetardedBtnPushed1;
 @interface MapEditor : NSObject
 {
@@ -362,6 +393,7 @@ bool fuckingRetardedBtnPushed1;
     
     
     IBOutlet NSWindow *EDvalueWindow;
+    
     NSMutableArray *EDvalueMA;
     IBOutlet NSArrayController *EDvalueAC;
     IBOutlet NSTableView *EDvalueTV;
@@ -401,6 +433,17 @@ bool fuckingRetardedBtnPushed1;
     IBOutlet NSPopUpButton *EDvarUnit1;
     IBOutlet NSPopUpButton *EDvarUnit2;
     IBOutlet NSPopUpButton *EDvarEtc;
+    
+    IBOutlet NSWindow *EDvarSetWindow;
+    NSMutableArray *EDvarHensuSet1MA;
+    IBOutlet NSArrayController *EDvarHensuSet1AC;
+    IBOutlet NSTableView *EDvarHensuSet1TV;
+    NSMutableArray *EDvarHensuSet2MA;
+    IBOutlet NSArrayController *EDvarHensuSet2AC;
+    IBOutlet NSTableView *EDvarHensuSet2TV;
+    IBOutlet NSTextField *EDvarMax;
+    IBOutlet NSTextField *EDvarName;
+    
 
     IBOutlet NSWindow *EDtimerWindow;
     IBOutlet NSButtonCell *EDtimerButton1;
@@ -520,14 +563,23 @@ bool fuckingRetardedBtnPushed1;
     IBOutlet NSTextField *EDTimerTF1;
     IBOutlet NSTextField *EDTimerTF2;
     
+    
+    IBOutlet NSWindow *EDAppearWindow;
+    NSMutableArray *EDAppear1MA;
+    IBOutlet NSArrayController *EDAppear1AC;
+    IBOutlet NSTableView *EDAppear1TV;
+    NSMutableArray *EDAppear2MA;
+    IBOutlet NSArrayController *EDAppear2AC;
+    IBOutlet NSTableView *EDAppear2TV;
+    IBOutlet NSButtonCell *EDAppearBC1;
+    IBOutlet NSButtonCell *EDAppearBC2;
+    
 }
 
 -(IBAction)EDSWOKbtn:(id)sender;
 -(IBAction)EDSWCancelbtn:(id)sender;
 
 -(IBAction)backTitle:(id)sender;
-
--(IBAction)backTitle:(id)sender;
 -(IBAction)saveMap:(id)sender;
 -(IBAction)loadMap:(id)sender;
 -(IBAction)mapSize:(id)sender;
@@ -674,4 +726,15 @@ bool fuckingRetardedBtnPushed1;
 -(IBAction)EDTimerSetBtn2:(id)sender;
 -(IBAction)EDTimerSetBtn3:(id)sender;
 
+-(IBAction)EDvarSetClose:(id)sender;
+-(IBAction)EDvarSetMax:(id)sender;
+
+-(IBAction)EDappearClose:(id)sender;
+-(IBAction)EDappearSubmit:(id)sender;
+-(IBAction)EDappearSet:(id)sender;
+
+-(IBAction)EDappearAdd:(id)sender;
+-(IBAction)EDappearRemove:(id)sender;
+
+
 @end
index d61ddc0..860ad6e 100755 (executable)
@@ -41,7 +41,7 @@
     [EDswitch2TV setDoubleAction:@selector(doubleClickSW2:)];
     
     [EDvariableTV setTarget:self];
-    [EDvariableTV setDoubleAction:@selector(doubleClickVAR:)];
+    [EDvariableTV setDoubleAction:@selector(doubleClickVARI:)];
     
     [EEGC1TV setTarget:self];
     [EEGC1TV setAction:@selector(clickEEGC1:)];
     [EDvalueTV setDoubleAction:@selector(doubleClickVAL:)];
     
     [EDvarTV setTarget:self];
-    [EDvarTV setDoubleAction:@selector(doubleClickVA:)];
+    [EDvarTV setDoubleAction:@selector(doubleClickVAR:)];
     
     [EDvarHensuTV setTarget:self];
     [EDvarHensuTV setDoubleAction:@selector(doubleClickHEN:)];
     
+    [EDvarHensuSet1TV setTarget:self];
+    [EDvarHensuSet1TV setAction:@selector(ClickHS1:)];
+    
+    [EDvarHensuSet2TV setTarget:self];
+    [EDvarHensuSet2TV setAction:@selector(ClickHS2:)];
+    [EDvarHensuSet2TV setDoubleAction:@selector(doubleClickHS2:)];
+    
     [EDresourceTV setTarget:self];
     [EDresourceTV setDoubleAction:@selector(doubleClickRES:)];
     
     [EDstB2TV setTarget:self];
     [EDstB2TV setDoubleAction:@selector(doubleClickSTB2:)];
     
+    [EDAppear1TV setTarget:self];
+    [EDAppear1TV setAction:@selector(ClickEDA1:)];
+    [EDAppear1TV setDoubleAction:@selector(doubleClickEDA1:)];
+    
+    [EDAppear2TV setTarget:self];
+    [EDAppear2TV setAction:@selector(ClickEDA2:)];
+    
     EEGC1MA = [NSMutableArray new];
     EEGC2MA = [NSMutableArray new];
     
     EDstA2MA = [NSMutableArray new];
     EDstB1MA = [NSMutableArray new];
     EDstB2MA = [NSMutableArray new];
+    EDvarHensuSet1MA = [NSMutableArray new];
+    EDvarHensuSet2MA = [NSMutableArray new];
+    EDAppear1MA = [NSMutableArray new];
+    EDAppear2MA = [NSMutableArray new];
     
 }
 
         
     }else if(doubleClickedFlag && eventPosFlag){
     
+        if(eventListRow < 0) return;
+        
         [eventWindow makeKeyAndOrderFront:nil];
     
         [self willChangeValueForKey:@"eventPosMA"];
         MS.D = MSDtop;
         
         MF[MFselectedRow+1].MS = MS;
+    }else if(doubleClickedFlag && EDappearPosFlag){
+    
+        [self willChangeValueForKey:@"eventPosMA"];
+        [[EDAppear1MA objectAtIndex:EDappearListRow] setValue:[NSString stringWithFormat:@"[%d,%d]", eSlctX, eSlctY] forKey:@"value"];
+        [self didChangeValueForKey:@"eventPosMA"];
+        MAPSCRIPT MS = MF[MFselectedRow+1].MS;
+        MS.D = msdtop;
+        
+        MAPSCRIPT0 *MS0 = MS.D->P;
+        MS3T = MS0->S3;
+        
+        for(int i = 0;i < EDappearListRow;i++){
+        
+            MS0->S3 = MS0->S3->next;
+        }
+        MS0->S3->x = eSlctX;
+        MS0->S3->y = eSlctY;
+        
+        MS0->S3 = MS3T;
+        
+        MS.D->P->S3 = MS3T;
+        
+        MF[MFselectedRow+1].MS = MS;
+        
+        
+        [eventWindow makeKeyAndOrderFront:nil];
+        [eventDetailWindow makeKeyAndOrderFront:nil];
+        [eventDetailSelectionWindow makeKeyAndOrderFront:nil];
+        [EDAppearWindow makeKeyAndOrderFront:nil];
     }
     
     doubleClickedFlag = false;
         
         fuckingRetardedBtnPushed1 = false;
     }
+    
+    if(hensuuFlag)
+    if(EDvarHensuSet1Row >= 0){
+    
+        int k = 0;
+        for(int i = HensuuMin;i <= HensuuMax;i++){
+            
+            if([EDvarHensuSet2MA count] <= 0) break;
+            Hensuu[i] = [[[EDvarHensuSet2MA objectAtIndex:k] valueForKey:@"value"] intValue];
+            HensuuName[i] = [[[EDvarHensuSet2MA objectAtIndex:k] valueForKey:@"name"] retain];
+            
+            k++;
+        }
+    }
 }
 
 -(IBAction)eventCheckBtn:(id)sender{
 }
 
 
+-(void)ClickEDA1:(id)sender{
+    EDappearListRow = (int)[EDAppear1TV clickedRow];
+}
+
+-(void)doubleClickEDA1:(id)sender{
+
+    EDappearPosFlag = true;
+    [MapEditorWindow makeKeyAndOrderFront:nil];
+    
+    [MapEditorWindow setFrame:NSMakeRect(scCenter.origin.x,scCenter.origin.y,480,480+headerFrame) display:YES];
+}
+
+-(void)ClickEDA2:(id)sender{
+    EDappearListRow2 = (int)[EDAppear2TV clickedRow];
+}
+
+-(void)ClickHS1:(id)sender{
+
+    [self willChangeValueForKey:@"EDvarHensuSet2MA"];
+    [EDvarHensuSet2MA removeAllObjects];
+    [self didChangeValueForKey:@"EDvarHensuSet2MA"];
+    
+    EDvarHensuSet1Row = [EDvarHensuSet1TV clickedRow];
+    
+    if([EDvarHensuSet1TV clickedRow] >= 0){
+        
+        NSString *string = [[EDvarHensuSet1MA objectAtIndex:[EDvarHensuSet1TV clickedRow]] valueForKey:@"value"];
+        NSArray *array2 = [string componentsSeparatedByString:@"["];
+        NSArray *array = [[array2 objectAtIndex:1] componentsSeparatedByString:@"~"];
+        
+        HensuuMin = [[array objectAtIndex:0] intValue];
+        HensuuMax = [[array objectAtIndex:1] intValue];
+        for(int i = HensuuMin;i <= HensuuMax;i++){
+            NSMutableDictionary* dict = [NSMutableDictionary new];
+            
+            [dict setValue:[NSString stringWithFormat:@"%d",i] forKey:@"num"];
+            [dict setValue:[NSString stringWithFormat:@"%d",Hensuu[i]] forKey:@"value"];
+            [dict setValue:[NSString stringWithFormat:@"%@",HensuuName[i]] forKey:@"name"];
+        
+            [self willChangeValueForKey:@"EDvarHensuSet2MA"];
+            [EDvarHensuSet2MA addObject:dict];
+            [self didChangeValueForKey:@"EDvarHensuSet2MA"];
+        
+        }
+    
+    }
+}
+
+-(void)ClickHS2:(id)sender{
+
+}
+
+-(void)doubleClickHS2:(id)sender{
+
+}
+
 -(void)ClickEDTI:(id)sender{
 
     EDtextImageRow = (int)[EDtextImageTV clickedRow];
                 memoDBLclickFlag = true;
                 [self initEDmemo];
                 [EDmemoWindow makeKeyAndOrderFront:nil];
+            }if([[MS.D->SCRPT objectAtIndex:EDrow] isEqualToString:@"◆ユニット出現"]){
+                appearDBLclickFlag = true;
+                editFlag = true;
+                [self initEDappear];
+                //NSLog(@"%d", MS.D->type);
+                [EDAppearWindow makeKeyAndOrderFront:nil];
             }
         }
         
 
 -(void)doubleClickPos:(id)sender{
     
+    MAPSCRIPT MS = MF[MFselectedRow+1].MS;
+    
+    int i = 0;
+    while(MS.D){
+        if(eventListRow > i)
+            MS.D = MS.D->next;
+        i++;
+    }
+    
+    if(!MS.D)
+        return;
+    
     eventPosFlag = true;
     [MapEditorWindow makeKeyAndOrderFront:nil];
     
 }
 -(void)doubleClickVAR:(id)sender{
     
-    if([EDvariableTV clickedRow] >= 0){
-        
-        
-    }
+    //if([EDvariableTV clickedRow] >= 0){
+    hensuuFlag = true;
+    [EDvarSetWindow makeKeyAndOrderFront:nil];
+    //}
 }
 
 
             [self EDdeleteFunc:MS msd:MSD];
         }else if([[MS.D->SCRPT objectAtIndex:EDrow] isEqualToString:@"◆注釈"]){
             [self EDdeleteFunc:MS msd:MSD];
+        }else if([[MS.D->SCRPT objectAtIndex:EDrow] isEqualToString:@"◆ユニット出現"]){
+            [self EDdeleteFunc:MS msd:MSD];
         }
     }
     
 -(IBAction)EDattackFlagOn:(id)sender{}
 
 -(IBAction)EDmove:(id)sender{}
--(IBAction)EDappear:(id)sender{}
+
+
+-(IBAction)EDappear:(id)sender{
+
+    EDappearFlag = true;
+    [self initEDappear];
+    [EDAppearWindow makeKeyAndOrderFront:nil];
+
+
+}
+
+-(void)initEDappear{
+    [self willChangeValueForKey:@"EDAppear2MA"];
+    [EDAppear2MA removeAllObjects];
+    [self didChangeValueForKey:@"EDAppear2MA"];
+    
+    
+    for(int i = 0;i < UCN;i++) {
+        NSMutableDictionary* dict = [NSMutableDictionary new];
+        
+        [dict setObject:UC[i].name forKey:@"name"];
+        [dict setObject:UC[i].img forKey:@"img"];
+        
+        [self willChangeValueForKey:@"EDAppear2MA"];
+        [EDAppear2MA addObject:dict];
+        [self didChangeValueForKey:@"EDAppear2MA"];
+        
+    }
+
+    if([EDAppear1MA count] == 0){
+        EDappearListRow = -1;
+    }
+    
+    [self willChangeValueForKey:@"EDAppear1MA"];
+    [EDAppear1MA removeAllObjects];
+    [self didChangeValueForKey:@"EDAppear1MA"];
+    
+    MAPSCRIPT MS = MF[MFselectedRow+1].MS;
+    
+    MS.D = msdtop;
+    
+    
+    MAPSCRIPT0 *MSDPt = MS.D->P;
+    
+    MAPSCRIPT0 *MS0 = MS.D->P;
+    
+    for(int i = 0;i < squareCnt - 1 ;i++){
+        MS0 = MS0->next;
+    }
+    
+    MS3T = MS0->S3;
+    while(MS0->S3){
+        NSMutableDictionary* dict = [NSMutableDictionary new];
+        
+        [dict setObject:MS0->S3->U.name forKey:@"name"];
+        [dict setObject:[NSString stringWithFormat:@"[%d,%d]", MS0->S3->x, MS0->S3->y] forKey:@"value"];
+        [dict setObject:[NSString stringWithFormat:@"%d", MS0->S3->flag] forKey:@"chk"];
+        
+        [self willChangeValueForKey:@"EDAppear1MA"];
+        [EDAppear1MA addObject:dict];
+        [self didChangeValueForKey:@"EDAppear1MA"];
+        MS0->S3 = MS0->S3->next;
+    }MS0->S3 = MS3T;
+    MS0 = MSDPt;
+}
+
 -(IBAction)EDdissapear:(id)sender{}
 
 -(IBAction)EDplace:(id)sender{}
 }
 
 
+-(IBAction)EDvarSetClose:(id)sender{
+
+    hensuuFlag = false;
+    [EDvarSetWindow close];
+
+
+
+}
+
+-(IBAction)EDvarSetMax:(id)sender{
+
+    [self willChangeValueForKey:@"EDvarHensuSet1MA"];
+    [EDvarHensuSet1MA removeAllObjects];
+    [self didChangeValueForKey:@"EDvarHensuSet1MA"];
+    
+    if([EDvarMax intValue] > 65000){
+        [EDvarMax setIntValue:65000];
+    }
+    
+    HensuuNum = [EDvarMax intValue];
+    
+    int instantCnt = (HensuuNum-1)%100;
+    
+    int k = 0;
+    int j = 0;
+    bool wtfFlag = false;
+    for(int i = 0;i < HensuuNum;i++){
 
 
+        if(k == 100){
+            j += 100;
+            k = 0;
+            wtfFlag = true;
+        }
+    NSMutableDictionary* dict = [NSMutableDictionary new];
+    
+        if(HensuuNum-1 == i){
+            [dict setValue:[NSString stringWithFormat:@"[%d~%d]", j, j+instantCnt] forKey:@"value"];
+            
+            [self willChangeValueForKey:@"EDvarHensuSet1MA"];
+            [EDvarHensuSet1MA addObject:dict];
+            [self didChangeValueForKey:@"EDvarHensuSet1MA"];
+        }
+        
+        if(i%100 == 0){
+            
+            if(HensuuNum - instantCnt-1 <= i)
+                continue;
+            [dict setValue:[NSString stringWithFormat:@"[%d~%d]", j, j+99] forKey:@"value"];
+            
+            [self willChangeValueForKey:@"EDvarHensuSet1MA"];
+            [EDvarHensuSet1MA addObject:dict];
+            [self didChangeValueForKey:@"EDvarHensuSet1MA"];
+        }
+        
 
+        k++;
+    }
+    wtfFlag = false;
+    
+}
 
 
 
 
+-(IBAction)EDappearClose:(id)sender{
 
+    [EDAppearWindow close];
+}
+
+-(IBAction)EDappearSubmit:(id)sender{
+    MAPSCRIPT MS = MF[MFselectedRow+1].MS;
+    
+    MS.D = msdtop;
+    
+    
+    MAPSCRIPT0 *MSDPt = MS.D->P;
+    
+    MAPSCRIPT0 *MS0 = MS.D->P;
+    
+    for(int i = 0;i < squareCnt - 1 ;i++){
+        MS0 = MS0->next;
+    }
+    MS0->type = 20;
+    int cnt = 0;
+    if(editFlag){
+        int instantCnt = 0;
+        int instantCnt2 = 0;
+        for (int i = 0;i < [MS.D->SCRPT count];i++) {
+            NSArray *array = [[MS.D->SCRPT objectAtIndex:i] componentsSeparatedByString:@"◆"];
+            if([array count] >= 2){
+                instantCnt++;
+            }
+            
+            if(instantCnt == squareCnt){
+                instantCnt2++;
+                cnt--;
+            }
+            if(instantCnt == squareCnt + 1){
+                break;
+            }
+            cnt++;
+        }
+        
+        for(int i = 0;i < instantCnt2;i++){
+            
+            [MS.D->SCRPT removeObjectAtIndex:cnt];
+            
+        }
+        
+        [MS.D->SCRPT insertObject:@"◆ユニット出現"atIndex:cnt];
+        
+        MAPSCRIPT3 *MS3 = MS0->S3;
+        
+        MS3T = MS3;
+        
+        for(int i = 0;i < [EDAppear1MA count];i++){
+        NSString *string = [NSString stringWithFormat:@"%@[%d,%d]", MS3->U.name, MS3->x, MS3->y];
+            MS3->flag = [[[EDAppear1MA objectAtIndex:i] objectForKey:@"chk"] intValue];
+        if(MS3->flag)
+            string = [string stringByAppendingString:@"重"];
+        [MS.D->SCRPT insertObject:string atIndex:cnt+1];
+            MS3 = MS3->next;
+        }MS3 = MS3T;
+        
+        
+        MS3 = MS3T;
+        
+        MS.D->P->S3 = MS3;
+        
+    }else if(insertFlag){
+        [MS.D->SCRPT insertObject:@"◆ユニット出現" atIndex:squareCnt - 1];
+        
+    
+    
+    MAPSCRIPT3 *MS3 = MS0->S3;
+    
+    MS3T = MS3;
+    
+        for(int i = 0;i < [EDAppear1MA count];i++){
+            NSString *string = [NSString stringWithFormat:@"%@[%d,%d]", MS3->U.name, MS3->x, MS3->y];
+            MS3->flag = [[[EDAppear1MA objectAtIndex:i] objectForKey:@"chk"] intValue];
+                if(MS3->flag)
+                string = [string stringByAppendingString:@"重"];
+            [MS.D->SCRPT insertObject:string atIndex:squareCnt];
+            MS3 = MS3->next;
+        }
+    
+    
+    MS3 = MS3T;
+    
+    MS.D->P->S3 = MS3;
+    
+    }else{
+        [MS.D->SCRPT addObject:@"◆ユニット出現"];
+    
+        MAPSCRIPT3 *MS3 = MS0->S3;
+        
+        MS3T = MS3;
+        
+        for(int i = 0;i < [EDAppear1MA count];i++){
+            NSString *string = [NSString stringWithFormat:@"%@[%d,%d]", MS3->U.name, MS3->x, MS3->y];
+            MS3->flag = [[[EDAppear1MA objectAtIndex:i] objectForKey:@"chk"] intValue];
+            if(MS3->flag)
+                string = [string stringByAppendingString:@"重"];
+            [MS.D->SCRPT addObject:string];
+            MS3 = MS3->next;
+        }
+        
+        
+        MS3 = MS3T;
+        
+        MS.D->P->S3 = MS3;
+    
+    }
+    
+    
+    
+    
+    MF[MFselectedRow+1].MS = MS;
+    
+    
+    [MapEditorWindow setFrame:NSMakeRect(scCenter.origin.x,scCenter.origin.y,640,480+headerFrame) display:YES];
+    EDappearFlag = false;
+    eventPosFlag = false;
+    editFlag = false;
+    insertFlag = false;
+    
+    [self initEDlist];
+    [EDAppearWindow close];
+    [eventDetailSelectionWindow close];
+}
+-(IBAction)EDappearSet:(id)sender{
+    
+    if(EDappearListRow >= 0 && EDappearListRow2 >= 0){
+        MAPSCRIPT MS = MF[MFselectedRow+1].MS;
+        
+        MS.D = msdtop;
+        
+        
+        MAPSCRIPT0 *MSDPt = MS.D->P;
+        
+        MAPSCRIPT0 *MS0 = MS.D->P;
+        
+        for(int i = 0;i < squareCnt - 1 ;i++){
+            MS0 = MS0->next;
+        }
+        
+        
+        [self willChangeValueForKey:@"EDAppear1MA"];
+        [[EDAppear1MA objectAtIndex:EDappearListRow] setValue:[NSString stringWithFormat:@"%@", UC[EDappearListRow2].name] forKey:@"name"];
+        [self didChangeValueForKey:@"EDAppear1MA"];
+        
+        MAPSCRIPT3 *MS3 = MS0->S3;
+        
+        MS3T = MS3;
+        for(int i = 0;i < EDappearListRow;i++){
+            
+            MS3 = MS3->next;
+        }MS3->U = UC[EDappearListRow2];
+        MS3->unitNum = EDappearListRow2;
+        
+        MS3 = MS3T;
+        
+        MS.D->P->S3 = MS3;
+        
+        MS0 = MSDPt;
+        
+        MF[MFselectedRow+1].MS = MS;
+    }
+        
+}
+
+-(IBAction)EDappearAdd:(id)sender{
+    
+    
+    MAPSCRIPT MS = MF[MFselectedRow+1].MS;
+    MS.D = msdtop;
+    if(!MS.D) return;
+    MAPSCRIPT0 *MS0 = MS.D->P;
+    MAPSCRIPT0 *MS0T = MS0;
+    if(!MS0) return;
+    
+    
+    for(int i = 0;i < squareCnt-1;i++){
+        MS0 = MS0->next;
+    }
+    
+    if(!MS0->S3){
+        MS0->S3 = calloc(1, sizeof(MAPSCRIPT3));
+        MS3T = MS0->S3;
+    }
+    else if(!MS0->S3->next){
+        MS0->S3->next = calloc(1, sizeof(MAPSCRIPT3));
+        MS3T = MS0->S3;
+    }else{
+        
+    while(MS0->S3->next){
+        MS0->S3 = MS0->S3->next;
+    }
+    MS0->S3->next = calloc(1, sizeof(MAPSCRIPT3));
+    }
+    
+    NSMutableDictionary* dict = [NSMutableDictionary new];
+    
+    [dict setValue:[NSString stringWithFormat:@"[0,0]"] forKey:@"value"];
+    
+        [self willChangeValueForKey:@"EDAppear1MA"];
+        [EDAppear1MA addObject:dict];
+        [self didChangeValueForKey:@"EDAppear1MA"];
+    
+    MS0->S3 = MS3T;
+    
+    MS0 = MS0T;
+    
+    MF[MFselectedRow+1].MS.D->P = MS0;
+    NSLog(@"");
+}
+-(IBAction)EDappearRemove:(id)sender{
+    
+    MAPSCRIPT MS = MF[MFselectedRow+1].MS;
+    MS.D = msdtop;
+    MS0T = MS.D->P;
+    MAPSCRIPT0 *MS0 = MS.D->P;
+    MAPSCRIPT0 *MS0T = MS0;
+    if(!MS.D->P) return;
+    
+    for(int i = 0;i < squareCnt-1;i++){
+        MS0 = MS0->next;
+    }
+    
+    MAPSCRIPT3 *MS3T = MS0->S3;
+    MAPSCRIPT3 *MS3 = MS0->S3;
+    
+    if(1){
+        if([EDAppear1MA count] == 0){
+            return;
+        }else if(EDappearListRow == -1){
+            for(int i = 0;i < [EDAppear1MA count]-1;i++){
+                
+                if(i == [EDAppear1MA count] - 2)
+                    break;
+                MS3 = MS3->next;
+            }
+            if([EDAppear1MA count] > 1) {
+                MS3->next = NULL;
+            }
+            else {
+                MS3T = NULL;
+                
+            }
+            [self willChangeValueForKey:@"EDAppear1MA"];
+            [EDAppear1MA removeObjectAtIndex:[EDAppear1MA count]-1];
+            [self didChangeValueForKey:@"EDAppear1MA"];
+            [EDAppear1AC setSelectionIndex:999];
+            
+            
+        }else if(EDappearListRow > 0){
+            for (int i = 0; i < EDappearListRow-1; i++) {
+                
+                MS3 = MS3->next;
+            }
+            MS3->next = MS3->next->next;
+            
+            [self willChangeValueForKey:@"EDAppear1MA"];
+            [EDAppear1MA removeObjectAtIndex:EDappearListRow];
+            [self didChangeValueForKey:@"EDAppear1MA"];
+            [EDAppear1AC setSelectionIndex:999];
+            
+        }else{
+            MS3T = MS3->next;
+            MS3 = MS3T;
+            [self willChangeValueForKey:@"EDAppear1MA"];
+            [EDAppear1MA removeObjectAtIndex:EDappearListRow];
+            [self didChangeValueForKey:@"EDAppear1MA"];
+            [EDAppear1AC setSelectionIndex:999];
+        }
+        
+        
+        MS3 = MS3T;
+        MS0->S3 = MS3;
+        MS0 = MS0T;
+        
+        MF[MFselectedRow+1].MS.D->P = MS0;
+    }
+
+    
+}
 
 
 
index 1806037..75fc22f 100755 (executable)
@@ -10,6 +10,7 @@
 #import "MapChipList.h"
 #import "BuildChipList.h"
 #import "UnitChipList.h"
+#import "LoadChipList.h"
 #import "ChipView.h"
 #import "CommandView.h"
 #import "MapEditor.h"
index fccff70..8c995eb 100644 (file)
         }
     }
     
+    if(EDappearFlag || EDappearPosFlag){
+        static int clickFrame = 0;
+        if(clickUpCnt%2 == 1){
+            clickFrame++;
+        }
+        
+        if(clickFrame > 100)
+            clickFrame = 0;
+        
+        if(clickUpCnt%2 == 0 && clickFrame >0){
+            doubleClickedFlag = true;
+            clickFrame = 0;
+        }
+    }
+    
     [self setNeedsDisplay:YES];
 }
 
     eSlctY = (int)drugPoint.y/32 + 1;
     
     if(EEGCslctFlag) return;
+    if(EDappearPosFlag) return;
     
     if(CommandSelected){
         if(SLSx == 1 && SLCy == 0) buildNum[posX][posY] = -1;
     posY = (int)drugPoint.y/32+1;
 
     if(EEGCslctFlag) return;
+    if(EDappearPosFlag) return;
     
     if(CommandSelected){
         if(SLSx == 1 && SLCy == 0) buildNum[posX][posY] = -1;
     
     if(EEGCslctFlag) [self DrawImage:chip2 x:(eSlctX - 1)*32 y:(eSlctY -1)*32 cx:0 cy:0];
     if(eventPosFlag) [self DrawImage:chip2 x:(eSlctX - 1)*32 y:(eSlctY -1)*32 cx:0 cy:0];
+    if(EDappearPosFlag) [self DrawImage:chip2 x:(eSlctX - 1)*32 y:(eSlctY -1)*32 cx:0 cy:0];
 }
 
 -(void)initMapChipFileDirectory{
                            NSString *string2 = [NSString stringWithFormat:@"%@◆", [array3 objectAtIndex:0]];
         NSRange rangeSearch2 = [[fileDataArray objectAtIndex:i] rangeOfString:string2];
         int pussyCnt = 0;
+        int mankoCnt = 0;
         
         if (rangeSearch.location == !NSNotFound) {
             
             if(MS.D->P->type == 1){
                 [MS.D->SCRPT addObject:@"◆選択肢の表示"];
                 
+            }if(MS.D->P->type == 20){
+                [MS.D->SCRPT addObject:@"◆ユニット出現"];
             }
             
             
                                         [MS.D->SCRPT addObject:[NSString stringWithFormat:@"%@", [fileDataArray objectAtIndex:i]]];
                                     pussyCnt++;
                                 }
+                            }if(MS.D->P->type == 20){
+                                
+                                NSString *string = @"";
+                                NSString *string2 = @"";
+                                NSArray *items10 = [[[fileDataArray objectAtIndex:i] componentsSeparatedByString:@","] retain];
+                                
+                                if(!MS.D->P->S3){
+                                    MS.D->P->S3 = calloc(1, sizeof(MAPSCRIPT3));
+                                    MS3T = MS.D->P->S3;
+                                }
+                                else{
+                                    if(mankoCnt == 1) MS3T = MS.D->P->S3;
+                                    MS.D->P->S3->next = calloc(1, sizeof(MAPSCRIPT3));
+                                    MS.D->P->S3 = MS.D->P->S3->next;
+                                }
+                                MS.D->P->S3->type = [[items10 objectAtIndex:0] intValue];
+                                MS.D->P->S3->unitNum = [[items10 objectAtIndex:1] intValue];
+                                MS.D->P->S3->x = [[items10 objectAtIndex:2] intValue];
+                                MS.D->P->S3->y = [[items10 objectAtIndex:3] intValue];
+                                MS.D->P->S3->flag = [[items10 objectAtIndex:4] intValue];
+                                MS.D->P->S3->U = UC[MS.D->P->S3->unitNum];
+                                
+                                string2 = [NSString stringWithFormat:@"%@[%d,%d]", MS.D->P->S3->U.name, MS.D->P->S3->x, MS.D->P->S3->y];
+                                
+                                if(MS.D->P->S3->flag)
+                                    string2 = [string2 stringByAppendingFormat:@"重"];
+                                
+                                if(![string2 isEqualToString:@""])
+                                    [MS.D->SCRPT addObject:[NSString stringWithString:string2]];
+                                     
+                                mankoCnt++;
+                                
                             }
                             
                             }
                 fileData = [fileData stringByAppendingFormat:@"%d", MS.D->P->indent];
                 fileData = [fileData stringByAppendingFormat:@"◆9\n"];
                 fileData = [fileData stringByAppendingFormat:@"%@\n", MS.D->P->memo];
+            }if(MS.D->P->type == 20){
+                fileData = [fileData stringByAppendingFormat:@"%d", MS.D->P->indent];
+                fileData = [fileData stringByAppendingFormat:@"◆20\n"];
+                MAPSCRIPT3 *MS3T = MS.D->P->S3;
+                while(MS.D->P->S3){
+                    fileData = [fileData stringByAppendingFormat:@"%d,%d,", MS.D->P->S3->type, MS.D->P->S3->unitNum];
+                    fileData = [fileData stringByAppendingFormat:@"%d,%d,%d\n", MS.D->P->S3->x, MS.D->P->S3->y,MS.D->P->S3->flag];
+                    MS.D->P->S3 = MS.D->P->S3->next;
+                }MS.D->P->S3 = MS3T;
             }
+
             MS.D->P = MS.D->P->next;
         }
         
index ca26824..fc4a466 100755 (executable)
         </customObject>
         <customObject id="3826" customClass="MapEditor">
             <connections>
+                <outlet property="EDAppear1AC" destination="s5m-qC-rDg" id="Caa-hA-U7v"/>
+                <outlet property="EDAppear1TV" destination="tdc-xg-y6U" id="ObY-dg-2uA"/>
+                <outlet property="EDAppear2AC" destination="1qd-yQ-NSy" id="vK4-rp-S3X"/>
+                <outlet property="EDAppear2TV" destination="uv9-Oz-dpY" id="8zN-1r-bm3"/>
+                <outlet property="EDAppearBC1" destination="5pa-J8-dqS" id="U0K-bt-WHe"/>
+                <outlet property="EDAppearBC2" destination="1BM-Hq-M3p" id="qiZ-yx-hRC"/>
+                <outlet property="EDAppearT1V" destination="tdc-xg-y6U" id="YdA-9T-yts"/>
+                <outlet property="EDAppearWindow" destination="nNk-dn-uy1" id="aHk-gN-fhi"/>
                 <outlet property="EDSWOFF" destination="gug-pq-8d3" id="xDG-Wr-Aif"/>
                 <outlet property="EDSWON" destination="6bt-lO-Y4I" id="eep-9x-5OL"/>
                 <outlet property="EDSWTF" destination="y9V-vr-e4v" id="RoT-KM-KrN"/>
                 <outlet property="EDresourceBtn3" destination="vTU-W1-iGd" id="tsY-br-5bx"/>
                 <outlet property="EDresourceButton1" destination="U3K-ET-3kh" id="DSF-id-R3I"/>
                 <outlet property="EDresourceButton2" destination="dmr-UC-mQR" id="Igv-Ga-ekZ"/>
-                <outlet property="EDresourceButtonA" destination="Lpc-FO-2JW" id="TmU-On-2Ll"/>
-                <outlet property="EDresourceButtonB" destination="uoK-Pb-IKD" id="AAW-nB-UXA"/>
                 <outlet property="EDresourceTF" destination="pM7-GM-D6i" id="gaN-5d-yGe"/>
                 <outlet property="EDresourceTV" destination="pTP-xU-fsr" id="sJf-DW-g3I"/>
                 <outlet property="EDresourceWindow" destination="6Hi-zV-IoJ" id="BRE-4h-2IC"/>
                 <outlet property="EDunitBtn" destination="K0y-aM-J2b" id="5hi-nE-I8U"/>
                 <outlet property="EDunitPUB" destination="bYx-Q2-5ul" id="A81-x8-7m3"/>
                 <outlet property="EDvalueAC" destination="37K-9A-DeL" id="nCL-1o-tUl"/>
+                <outlet property="EDvalueSetWIndow" destination="vCd-mx-DZf" id="dDe-T0-qno"/>
                 <outlet property="EDvalueTV" destination="rq5-pj-WYL" id="6KQ-zD-PZv"/>
                 <outlet property="EDvalueWindow" destination="6tL-eK-Mae" id="kXF-gE-z26"/>
                 <outlet property="EDvarAC" destination="iHP-P2-t0Y" id="hBz-4k-g71"/>
                 <outlet property="EDvarButtonT" destination="kTY-Gc-Gpt" id="UI9-dR-j5i"/>
                 <outlet property="EDvarEtc" destination="iCj-RP-fKP" id="W3q-Hl-C99"/>
                 <outlet property="EDvarHensuAC" destination="YSS-a8-Fys" id="T4I-lb-r6r"/>
+                <outlet property="EDvarHensuSet1AC" destination="B7Y-Yq-yrY" id="75f-0G-qLq"/>
+                <outlet property="EDvarHensuSet1TV" destination="KiL-6v-fdZ" id="H1j-6n-q01"/>
+                <outlet property="EDvarHensuSet2AC" destination="VKd-iA-SKL" id="hks-aB-KrK"/>
+                <outlet property="EDvarHensuSet2TV" destination="Toj-2A-Ng5" id="iZa-Er-Cv4"/>
                 <outlet property="EDvarHensuTV" destination="DIX-dU-hS3" id="3MW-L9-mqF"/>
+                <outlet property="EDvarMax" destination="XC5-Vd-kH4" id="vd3-fN-Boc"/>
                 <outlet property="EDvarRansu1" destination="mhE-iu-Ub4" id="bzM-sf-pu3"/>
                 <outlet property="EDvarRansu2" destination="F6w-t1-cbo" id="JSi-2C-ma3"/>
+                <outlet property="EDvarSetWindow" destination="vCd-mx-DZf" id="mFM-hJ-ghR"/>
                 <outlet property="EDvarTF1" destination="eER-mk-l1L" id="b0b-hM-IVl"/>
                 <outlet property="EDvarTF2" destination="yIW-ii-gse" id="NEe-PG-95m"/>
                 <outlet property="EDvarTV" destination="tRm-uV-ATH" id="Gtw-9m-umu"/>
                 <binding destination="3826" name="contentArray" keyPath="EDstB2MA" id="tDF-Nj-6I6"/>
             </connections>
         </arrayController>
+        <arrayController id="B7Y-Yq-yrY" userLabel="EDvarHensuSet1AC">
+            <connections>
+                <binding destination="3826" name="contentArray" keyPath="EDvarHensuSet1MA" id="VZ2-h7-iiN"/>
+            </connections>
+        </arrayController>
+        <arrayController id="VKd-iA-SKL" userLabel="EDvarHensuSet2AC">
+            <connections>
+                <binding destination="3826" name="contentArray" keyPath="EDvarHensuSet2MA" id="IF0-vQ-CWt"/>
+            </connections>
+        </arrayController>
+        <arrayController id="s5m-qC-rDg" userLabel="EDAppear1AC">
+            <connections>
+                <binding destination="3826" name="contentArray" keyPath="EDAppear1MA" id="ZZ6-YI-4oN"/>
+            </connections>
+        </arrayController>
+        <arrayController id="1qd-yQ-NSy" userLabel="EDAppear2AC">
+            <connections>
+                <binding destination="3826" name="contentArray" keyPath="EDAppear2MA" id="Cvb-eh-7sd"/>
+            </connections>
+        </arrayController>
         <customObject id="1811" customClass="MapChipList">
             <connections>
                 <outlet property="IVimg" destination="1070" id="4001"/>
                 </subviews>
             </view>
         </window>
-        <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="vCd-mx-DZf" userLabel="スイッチ/変数 登録">
+        <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="vCd-mx-DZf" userLabel="変数リスト">
             <windowStyleMask key="styleMask" titled="YES"/>
             <rect key="contentRect" x="678" y="400" width="640" height="442"/>
             <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1058"/>
                 <rect key="frame" x="0.0" y="0.0" width="640" height="442"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
-                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="dYT-Pc-cDX">
-                        <rect key="frame" x="235" y="61" width="406" height="382"/>
+                    <button verticalHuggingPriority="750" id="hh9-nj-eDn">
+                        <rect key="frame" x="547" y="13" width="79" height="32"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <clipView key="contentView" id="6D0-YO-o6Z">
-                            <rect key="frame" x="1" y="1" width="404" height="380"/>
+                        <buttonCell key="cell" type="push" title="閉じる" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="hW9-Os-yoq">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" size="13" name="AquaKana"/>
+                        </buttonCell>
+                        <connections>
+                            <action selector="EDvarSetClose:" target="3826" id="wqV-DE-6IY"/>
+                        </connections>
+                    </button>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="vSy-uR-1yG">
+                        <rect key="frame" x="20" y="81" width="207" height="306"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <clipView key="contentView" id="WSx-zf-Gkh">
+                            <rect key="frame" x="1" y="1" width="205" height="304"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
-                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" id="Toj-2A-Ng5">
-                                    <rect key="frame" x="0.0" y="0.0" width="404" height="19"/>
+                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" id="KiL-6v-fdZ">
+                                    <rect key="frame" x="0.0" y="0.0" width="205" height="19"/>
                                     <autoresizingMask key="autoresizingMask"/>
                                     <size key="intercellSpacing" width="3" height="2"/>
                                     <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                                     <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
                                     <tableColumns>
-                                        <tableColumn width="401" minWidth="40" maxWidth="1000" id="DkR-P1-F6J">
+                                        <tableColumn editable="NO" width="202" minWidth="40" maxWidth="1000" id="ELp-L1-PAA">
                                             <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
                                                 <font key="font" metaFont="smallSystem"/>
                                                 <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
                                                 <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
                                             </tableHeaderCell>
-                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="d0H-5f-4Y8">
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="fOt-pD-HVj">
                                                 <font key="font" metaFont="system"/>
                                                 <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                                 <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                                             </textFieldCell>
                                             <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
                                             <connections>
-                                                <binding destination="v8V-gL-u6H" name="value" keyPath="arrangedObjects.name" id="1YB-q6-fW5">
+                                                <binding destination="B7Y-Yq-yrY" name="value" keyPath="arrangedObjects.value" id="5sL-Os-rJz">
                                                     <dictionary key="options">
                                                         <bool key="NSCreatesSortDescriptor" value="NO"/>
                                                     </dictionary>
                             </subviews>
                             <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                         </clipView>
-                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="tZW-zN-DU0">
+                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="amE-3S-Cy1">
                             <rect key="frame" x="1" y="119" width="223" height="15"/>
                             <autoresizingMask key="autoresizingMask"/>
                         </scroller>
-                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="CbN-et-OYh">
+                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="ccx-X4-ihV">
                             <rect key="frame" x="224" y="17" width="15" height="102"/>
                             <autoresizingMask key="autoresizingMask"/>
                         </scroller>
                     </scrollView>
-                    <button verticalHuggingPriority="750" id="hh9-nj-eDn">
-                        <rect key="frame" x="547" y="13" width="79" height="32"/>
+                    <button verticalHuggingPriority="750" id="vRw-Mu-r6t">
+                        <rect key="frame" x="64" y="42" width="118" height="32"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <buttonCell key="cell" type="push" title="閉じる" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="hW9-Os-yoq">
+                        <buttonCell key="cell" type="push" title="最大数の変更" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Cu2-K6-VHd">
                             <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                             <font key="font" size="13" name="AquaKana"/>
                         </buttonCell>
                         <connections>
-                            <action selector="eventSubmit:" target="3826" id="Wx3-um-PrL"/>
+                            <action selector="EDvarSetMax:" target="3826" id="xfO-4h-KtG"/>
                         </connections>
                     </button>
-                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="vSy-uR-1yG">
-                        <rect key="frame" x="20" y="81" width="207" height="306"/>
+                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="QOl-bJ-JeH">
+                        <rect key="frame" x="108" y="405" width="30" height="17"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <clipView key="contentView" id="WSx-zf-Gkh">
-                            <rect key="frame" x="1" y="1" width="205" height="304"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="変数" id="jBW-j5-o3h">
+                            <font key="font" size="13" name="AquaKana"/>
+                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <textField verticalHuggingPriority="750" id="XC5-Vd-kH4">
+                        <rect key="frame" x="75" y="18" width="96" height="22"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="1X0-6b-fiM">
+                            <font key="font" metaFont="system"/>
+                            <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="dYT-Pc-cDX">
+                        <rect key="frame" x="241" y="61" width="400" height="380"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <clipView key="contentView" id="6D0-YO-o6Z">
+                            <rect key="frame" x="1" y="17" width="398" height="362"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
-                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" id="KiL-6v-fdZ">
-                                    <rect key="frame" x="0.0" y="0.0" width="205" height="19"/>
+                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" headerView="M70-ah-obA" id="Toj-2A-Ng5">
+                                    <rect key="frame" x="0.0" y="0.0" width="398" height="19"/>
                                     <autoresizingMask key="autoresizingMask"/>
                                     <size key="intercellSpacing" width="3" height="2"/>
                                     <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                                     <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
                                     <tableColumns>
-                                        <tableColumn width="202" minWidth="40" maxWidth="1000" id="ELp-L1-PAA">
-                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
+                                        <tableColumn editable="NO" width="43.296875" minWidth="40" maxWidth="1000" id="DkR-P1-F6J">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="番号">
                                                 <font key="font" metaFont="smallSystem"/>
                                                 <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
                                                 <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
                                             </tableHeaderCell>
-                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="fOt-pD-HVj">
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="d0H-5f-4Y8">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="VKd-iA-SKL" name="value" keyPath="arrangedObjects.num" id="qoI-om-jIA">
+                                                    <dictionary key="options">
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                        <tableColumn width="57.66796875" minWidth="10" maxWidth="3.4028234663852886e+38" id="7Qm-gy-xQi">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="値">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="Gpm-U2-2Ln">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="VKd-iA-SKL" name="value" keyPath="arrangedObjects.value" id="r7q-jd-GjP">
+                                                    <dictionary key="options">
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                        <tableColumn width="288" minWidth="10" maxWidth="3.4028234663852886e+38" id="ToT-t3-Kf8">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="コメント">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="U7N-vA-shl">
                                                 <font key="font" metaFont="system"/>
                                                 <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                                 <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                                             </textFieldCell>
                                             <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="VKd-iA-SKL" name="value" keyPath="arrangedObjects.name" id="Y00-Yk-WEG">
+                                                    <dictionary key="options">
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
                                         </tableColumn>
                                     </tableColumns>
                                 </tableView>
                             </subviews>
                             <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
                         </clipView>
-                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="amE-3S-Cy1">
+                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="tZW-zN-DU0">
                             <rect key="frame" x="1" y="119" width="223" height="15"/>
                             <autoresizingMask key="autoresizingMask"/>
                         </scroller>
-                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="ccx-X4-ihV">
+                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="CbN-et-OYh">
                             <rect key="frame" x="224" y="17" width="15" height="102"/>
                             <autoresizingMask key="autoresizingMask"/>
                         </scroller>
+                        <tableHeaderView key="headerView" id="M70-ah-obA">
+                            <rect key="frame" x="0.0" y="0.0" width="10000" height="17"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </tableHeaderView>
                     </scrollView>
-                    <button verticalHuggingPriority="750" id="vRw-Mu-r6t">
-                        <rect key="frame" x="64" y="42" width="118" height="32"/>
+                    <button verticalHuggingPriority="750" id="lLD-pP-sHe">
+                        <rect key="frame" x="484" y="13" width="66" height="32"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <buttonCell key="cell" type="push" title="æ\9c\80大æ\95°ã\81®å¤\89æ\9b´" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="Cu2-K6-VHd">
+                        <buttonCell key="cell" type="push" title="決å®\9a" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="xY4-To-rFz">
                             <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
-                            <font key="font" size="13" name="AquaKana"/>
+                            <font key="font" size="13" name="HiraKakuProN-W3"/>
                         </buttonCell>
                     </button>
-                    <textField verticalHuggingPriority="750" id="cou-vl-rWJ">
-                        <rect key="frame" x="280" y="20" width="260" height="22"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="ZlX-jz-yeN">
-                            <font key="font" metaFont="system"/>
-                            <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
-                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
-                        </textFieldCell>
-                    </textField>
-                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="ghX-fl-msK">
-                        <rect key="frame" x="244" y="23" width="30" height="17"/>
+                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="oL1-bc-0bO">
+                        <rect key="frame" x="227" y="24" width="251" height="17"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="名前" id="xkk-lw-uOb">
-                            <font key="font" size="13" name="AquaKana"/>
-                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
-                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
-                        </textFieldCell>
-                    </textField>
-                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="QOl-bJ-JeH">
-                        <rect key="frame" x="95" y="405" width="56" height="17"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="スイッチ" id="jBW-j5-o3h">
-                            <font key="font" size="13" name="AquaKana"/>
-                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="米直接入力することで変える事もできます" id="smk-YI-mkF">
+                            <font key="font" size="13" name="HiraKakuProN-W3"/>
+                            <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
                             <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                         </textFieldCell>
                     </textField>
                 </subviews>
             </view>
+            <point key="canvasLocation" x="-443" y="258"/>
         </window>
         <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="6Ho-16-Ie6" userLabel="イベント選択">
             <windowStyleMask key="styleMask" titled="YES"/>
                             <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                         </textFieldCell>
                     </textField>
-                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="WuS-7h-m7w">
-                        <rect key="frame" x="77" y="385" width="250" height="50"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <clipView key="contentView" id="7x8-Os-IO4">
-                            <rect key="frame" x="1" y="1" width="248" height="48"/>
-                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                            <subviews>
-                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" id="tRm-uV-ATH">
-                                    <rect key="frame" x="0.0" y="0.0" width="245" height="19"/>
-                                    <autoresizingMask key="autoresizingMask"/>
-                                    <size key="intercellSpacing" width="3" height="2"/>
-                                    <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
-                                    <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
-                                    <tableColumns>
-                                        <tableColumn width="241.51953125" minWidth="40" maxWidth="1000" id="WCz-XL-O6e">
-                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
-                                                <font key="font" metaFont="smallSystem"/>
-                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
-                                                <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
-                                            </tableHeaderCell>
-                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="Wep-SQ-4AY">
-                                                <font key="font" metaFont="system"/>
-                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
-                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
-                                            </textFieldCell>
-                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
-                                            <connections>
-                                                <binding destination="iHP-P2-t0Y" name="value" keyPath="arrangedObjects.name" id="WIQ-xe-wQp"/>
-                                            </connections>
-                                        </tableColumn>
-                                    </tableColumns>
-                                </tableView>
-                            </subviews>
-                            <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
-                        </clipView>
-                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="1Zy-Vk-S4p">
-                            <rect key="frame" x="1" y="119" width="223" height="15"/>
-                            <autoresizingMask key="autoresizingMask"/>
-                        </scroller>
-                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="0gZ-t9-BMg">
-                            <rect key="frame" x="224" y="17" width="15" height="102"/>
-                            <autoresizingMask key="autoresizingMask"/>
-                        </scroller>
-                    </scrollView>
                     <textField verticalHuggingPriority="750" id="eER-mk-l1L">
                         <rect key="frame" x="77" y="333" width="96" height="22"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                             <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                         </textFieldCell>
                     </textField>
-                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="U2A-TN-hxW">
-                        <rect key="frame" x="20" y="317" width="61" height="118"/>
-                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
-                        <size key="cellSize" width="48" height="18"/>
-                        <size key="intercellSpacing" width="4" height="2"/>
-                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="JsG-az-zWD">
-                            <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                            <font key="font" metaFont="system"/>
-                        </buttonCell>
-                        <cells>
-                            <column>
-                                <buttonCell type="radio" title="単独" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="kTY-Gc-Gpt">
-                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                    <font key="font" metaFont="system"/>
-                                </buttonCell>
-                                <buttonCell type="radio" title="一括" imagePosition="left" alignment="left" inset="2" id="1Yr-LT-hq9">
-                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                    <font key="font" metaFont="system"/>
-                                </buttonCell>
-                            </column>
-                        </cells>
-                    </matrix>
                     <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="N5Y-h5-7bb">
                         <rect key="frame" x="12" y="298" width="368" height="18"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                             <rect key="frame" x="1" y="1" width="364" height="244"/>
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
-                                <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="qGe-Ud-xrs">
-                                    <rect key="frame" x="18" y="10" width="100" height="222"/>
-                                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                                    <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
-                                    <size key="cellSize" width="100" height="18"/>
-                                    <size key="intercellSpacing" width="4" height="2"/>
-                                    <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="Yqq-BK-Unl">
-                                        <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                        <font key="font" metaFont="system"/>
-                                    </buttonCell>
-                                    <cells>
-                                        <column>
-                                            <buttonCell type="radio" title="定数" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="9C9-Pi-aWb">
-                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                                <font key="font" metaFont="system"/>
-                                            </buttonCell>
-                                            <buttonCell type="radio" title="変数" imagePosition="left" alignment="left" inset="2" id="mDk-k2-7Pa">
-                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                                <font key="font" metaFont="system"/>
-                                            </buttonCell>
-                                            <buttonCell type="radio" title="乱数" imagePosition="left" alignment="left" inset="2" id="cTi-Tb-TXb">
-                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                                <font key="font" metaFont="system"/>
-                                            </buttonCell>
-                                            <buttonCell type="radio" title="ユニット" imagePosition="left" alignment="left" inset="2" id="l8s-wc-IH7">
-                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                                <font key="font" metaFont="system"/>
-                                            </buttonCell>
-                                            <buttonCell type="radio" title="味方ユニット" imagePosition="left" alignment="left" inset="2" id="1VZ-Ej-AeA">
-                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                                <font key="font" metaFont="system"/>
-                                            </buttonCell>
-                                            <buttonCell type="radio" title="敵ユニット" imagePosition="left" alignment="left" inset="2" id="Aj3-Jn-gUP">
-                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                                <font key="font" metaFont="system"/>
-                                            </buttonCell>
-                                            <buttonCell type="radio" title="その他" imagePosition="left" alignment="left" inset="2" id="wbt-ck-tEA">
-                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                                                <font key="font" metaFont="system"/>
-                                            </buttonCell>
-                                        </column>
-                                    </cells>
-                                </matrix>
                                 <textField verticalHuggingPriority="750" id="nlT-dI-fXF">
                                     <rect key="frame" x="118" y="205" width="96" height="22"/>
                                     <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                                         </menu>
                                     </popUpButtonCell>
                                 </popUpButton>
-                            </subviews>
-                        </view>
-                        <color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
-                        <color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
-                    </box>
-                </subviews>
-            </view>
-        </window>
-        <menuItem title="敵の手数時間" id="Suo-px-r0H"/>
-        <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="Cnw-Ln-Ynn" userLabel="タイマーの決定">
-            <windowStyleMask key="styleMask" titled="YES"/>
-            <rect key="contentRect" x="678" y="400" width="300" height="200"/>
-            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1058"/>
-            <view key="contentView" id="BMC-ht-Jaf">
-                <rect key="frame" x="0.0" y="0.0" width="300" height="200"/>
-                <autoresizingMask key="autoresizingMask"/>
-                <subviews>
+                                <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="qGe-Ud-xrs">
+                                    <rect key="frame" x="18" y="10" width="100" height="222"/>
+                                    <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                                    <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                                    <size key="cellSize" width="100" height="18"/>
+                                    <size key="intercellSpacing" width="4" height="2"/>
+                                    <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="Yqq-BK-Unl">
+                                        <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                        <font key="font" metaFont="system"/>
+                                    </buttonCell>
+                                    <cells>
+                                        <column>
+                                            <buttonCell type="radio" title="定数" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="9C9-Pi-aWb">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                            <buttonCell type="radio" title="変数" imagePosition="left" alignment="left" inset="2" id="mDk-k2-7Pa">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                            <buttonCell type="radio" title="乱数" imagePosition="left" alignment="left" inset="2" id="cTi-Tb-TXb">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                            <buttonCell type="radio" title="ユニット" imagePosition="left" alignment="left" inset="2" id="l8s-wc-IH7">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                            <buttonCell type="radio" title="味方ユニット" imagePosition="left" alignment="left" inset="2" id="1VZ-Ej-AeA">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                            <buttonCell type="radio" title="敵ユニット" imagePosition="left" alignment="left" inset="2" id="Aj3-Jn-gUP">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                            <buttonCell type="radio" title="その他" imagePosition="left" alignment="left" inset="2" id="wbt-ck-tEA">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                        </column>
+                                    </cells>
+                                </matrix>
+                            </subviews>
+                        </view>
+                        <color key="borderColor" white="0.0" alpha="0.41999999999999998" colorSpace="calibratedWhite"/>
+                        <color key="fillColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/>
+                    </box>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="U2A-TN-hxW">
+                        <rect key="frame" x="20" y="314" width="61" height="128"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        <size key="cellSize" width="48" height="18"/>
+                        <size key="intercellSpacing" width="4" height="2"/>
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="JsG-az-zWD">
+                            <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                            <font key="font" metaFont="system"/>
+                        </buttonCell>
+                        <cells>
+                            <column>
+                                <buttonCell type="radio" title="単独" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="kTY-Gc-Gpt">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                                <buttonCell type="radio" title="一括" imagePosition="left" alignment="left" inset="2" id="1Yr-LT-hq9">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                        </cells>
+                    </matrix>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="WuS-7h-m7w">
+                        <rect key="frame" x="77" y="398" width="250" height="26"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <clipView key="contentView" id="7x8-Os-IO4">
+                            <rect key="frame" x="1" y="1" width="248" height="24"/>
+                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <subviews>
+                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" id="tRm-uV-ATH">
+                                    <rect key="frame" x="0.0" y="0.0" width="245" height="19"/>
+                                    <autoresizingMask key="autoresizingMask"/>
+                                    <size key="intercellSpacing" width="3" height="2"/>
+                                    <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                    <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
+                                    <tableColumns>
+                                        <tableColumn width="241.51953125" minWidth="40" maxWidth="1000" id="WCz-XL-O6e">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="Wep-SQ-4AY">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="iHP-P2-t0Y" name="value" keyPath="arrangedObjects.name" id="WIQ-xe-wQp"/>
+                                            </connections>
+                                        </tableColumn>
+                                    </tableColumns>
+                                </tableView>
+                            </subviews>
+                            <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </clipView>
+                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="1Zy-Vk-S4p">
+                            <rect key="frame" x="1" y="119" width="223" height="15"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="0gZ-t9-BMg">
+                            <rect key="frame" x="224" y="17" width="15" height="102"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                    </scrollView>
+                </subviews>
+            </view>
+        </window>
+        <menuItem title="敵の手数時間" id="Suo-px-r0H"/>
+        <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="Cnw-Ln-Ynn" userLabel="タイマーの決定">
+            <windowStyleMask key="styleMask" titled="YES"/>
+            <rect key="contentRect" x="678" y="400" width="300" height="200"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1058"/>
+            <view key="contentView" id="BMC-ht-Jaf">
+                <rect key="frame" x="0.0" y="0.0" width="300" height="200"/>
+                <autoresizingMask key="autoresizingMask"/>
+                <subviews>
                     <button verticalHuggingPriority="750" id="hol-Sa-QDS">
                         <rect key="frame" x="115" y="13" width="66" height="32"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                 <autoresizingMask key="autoresizingMask"/>
                 <subviews>
                     <button verticalHuggingPriority="750" id="FuH-6O-llV">
-                        <rect key="frame" x="165" y="13" width="66" height="32"/>
+                        <rect key="frame" x="177" y="13" width="66" height="32"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <buttonCell key="cell" type="push" title="決定" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="7Sm-Ts-VhQ">
                             <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                         </connections>
                     </button>
                     <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="kK0-7M-1Qr">
-                        <rect key="frame" x="92" y="73" width="180" height="21"/>
+                        <rect key="frame" x="92" y="194" width="180" height="21"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <clipView key="contentView" id="RTa-GD-uis">
                             <rect key="frame" x="1" y="1" width="178" height="19"/>
                         </textFieldCell>
                     </textField>
                     <textField verticalHuggingPriority="750" id="pM7-GM-D6i">
-                        <rect key="frame" x="92" y="122" width="96" height="22"/>
+                        <rect key="frame" x="92" y="215" width="96" height="22"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="PPq-l3-07j">
                             <font key="font" metaFont="system"/>
                             <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                         </textFieldCell>
                     </textField>
-                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="L4c-bw-lFE">
-                        <rect key="frame" x="23" y="61" width="61" height="96"/>
+                    <button id="LqA-EK-y65">
+                        <rect key="frame" x="23" y="243" width="48" height="18"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <buttonCell key="cell" type="check" title="資源" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="gfC-4x-AQ9">
+                            <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                            <font key="font" size="13" name="AquaKana"/>
+                        </buttonCell>
+                    </button>
+                    <button id="Nxy-YO-mzZ">
+                        <rect key="frame" x="23" y="166" width="48" height="18"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <buttonCell key="cell" type="check" title="食料" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="0nU-2c-vzD">
+                            <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                            <font key="font" size="13" name="AquaKana"/>
+                        </buttonCell>
+                    </button>
+                    <button id="vTU-W1-iGd">
+                        <rect key="frame" x="21" y="93" width="48" height="18"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <buttonCell key="cell" type="check" title="資金" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="a5t-gS-5Lb">
+                            <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                            <font key="font" size="13" name="AquaKana"/>
+                        </buttonCell>
+                    </button>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="CBn-Ov-gpg">
+                        <rect key="frame" x="25" y="199" width="61" height="38"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                         <size key="cellSize" width="48" height="18"/>
                         <size key="intercellSpacing" width="4" height="2"/>
-                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="nJ2-di-0cJ">
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="Lp3-pz-lNG">
                             <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                             <font key="font" metaFont="system"/>
                         </buttonCell>
                         <cells>
                             <column>
-                                <buttonCell type="radio" title="定数" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="Lpc-FO-2JW">
+                                <buttonCell type="radio" title="定数" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="GQQ-cS-Jwz">
                                     <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
-                                <buttonCell type="radio" title="変数" imagePosition="left" alignment="left" inset="2" id="uoK-Pb-IKD">
+                                <buttonCell type="radio" title="変数" imagePosition="left" alignment="left" inset="2" id="2nr-Fr-UuG">
                                     <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
                             </column>
                         </cells>
                     </matrix>
-                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="DiE-GY-70N">
-                        <rect key="frame" x="23" y="171" width="202" height="18"/>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="2ef-IU-hhw">
+                        <rect key="frame" x="87" y="166" width="202" height="18"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
                         <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
                         <size key="cellSize" width="61" height="18"/>
                         <size key="intercellSpacing" width="4" height="2"/>
-                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="tJm-XT-nOq">
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="h4s-rR-LAi">
                             <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                             <font key="font" metaFont="system"/>
                         </buttonCell>
                         <cells>
                             <column>
-                                <buttonCell type="radio" title="増やす" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="U3K-ET-3kh">
+                                <buttonCell type="radio" title="増やす" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="XAf-lK-q1G">
                                     <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
                             </column>
                             <column>
-                                <buttonCell type="radio" title="減らす" imagePosition="left" alignment="left" inset="2" id="dmr-UC-mQR">
+                                <buttonCell type="radio" title="減らす" imagePosition="left" alignment="left" inset="2" id="vag-br-Qrh">
                                     <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
                             </column>
                         </cells>
                     </matrix>
-                    <button id="LqA-EK-y65">
-                        <rect key="frame" x="23" y="221" width="48" height="18"/>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="8gu-mW-2lH">
+                        <rect key="frame" x="92" y="115" width="180" height="21"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <buttonCell key="cell" type="check" title="資源" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="gfC-4x-AQ9">
+                        <clipView key="contentView" id="HRG-db-cFo">
+                            <rect key="frame" x="1" y="1" width="178" height="19"/>
+                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <subviews>
+                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" id="H0t-vi-mZ6">
+                                    <rect key="frame" x="0.0" y="0.0" width="178" height="19"/>
+                                    <autoresizingMask key="autoresizingMask"/>
+                                    <size key="intercellSpacing" width="3" height="2"/>
+                                    <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                    <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
+                                    <tableColumns>
+                                        <tableColumn width="174.51953125" minWidth="40" maxWidth="1000" id="7He-mE-9B2">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="HCb-hh-ia6">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="Jma-D8-Sfj" name="value" keyPath="arrangedObjects.name" id="Zmy-L4-4Gg">
+                                                    <dictionary key="options">
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                    </tableColumns>
+                                </tableView>
+                            </subviews>
+                            <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </clipView>
+                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="T7U-Pz-lAa">
+                            <rect key="frame" x="1" y="119" width="223" height="15"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="r9a-tj-VN0">
+                            <rect key="frame" x="224" y="17" width="15" height="102"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                    </scrollView>
+                    <textField verticalHuggingPriority="750" id="Cl5-YI-L26">
+                        <rect key="frame" x="92" y="136" width="96" height="22"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="BsN-Cm-ECf">
+                            <font key="font" metaFont="system"/>
+                            <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="795-sw-vba">
+                        <rect key="frame" x="25" y="120" width="61" height="38"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        <size key="cellSize" width="48" height="18"/>
+                        <size key="intercellSpacing" width="4" height="2"/>
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="lzj-d3-gXI">
                             <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                            <font key="font" size="13" name="AquaKana"/>
+                            <font key="font" metaFont="system"/>
                         </buttonCell>
-                    </button>
-                    <button id="Nxy-YO-mzZ">
-                        <rect key="frame" x="126" y="221" width="48" height="18"/>
+                        <cells>
+                            <column>
+                                <buttonCell type="radio" title="定数" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="mwz-2H-YND">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                                <buttonCell type="radio" title="変数" imagePosition="left" alignment="left" inset="2" id="91A-Ka-sMU">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                        </cells>
+                    </matrix>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="Pvo-F4-WIN">
+                        <rect key="frame" x="87" y="94" width="202" height="18"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <buttonCell key="cell" type="check" title="食料" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="0nU-2c-vzD">
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        <size key="cellSize" width="61" height="18"/>
+                        <size key="intercellSpacing" width="4" height="2"/>
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="K09-zw-8Ge">
                             <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                            <font key="font" size="13" name="AquaKana"/>
+                            <font key="font" metaFont="system"/>
                         </buttonCell>
-                    </button>
-                    <button id="vTU-W1-iGd">
-                        <rect key="frame" x="224" y="221" width="48" height="18"/>
+                        <cells>
+                            <column>
+                                <buttonCell type="radio" title="増やす" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="Szo-pX-AAM">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                            <column>
+                                <buttonCell type="radio" title="減らす" imagePosition="left" alignment="left" inset="2" id="po8-4N-Aq7">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                        </cells>
+                    </matrix>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="Fgi-Sc-TjL">
+                        <rect key="frame" x="90" y="45" width="180" height="21"/>
                         <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
-                        <buttonCell key="cell" type="check" title="資金" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="a5t-gS-5Lb">
+                        <clipView key="contentView" id="tVM-Kq-21Z">
+                            <rect key="frame" x="1" y="1" width="178" height="19"/>
+                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <subviews>
+                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" id="Lji-Ph-drn">
+                                    <rect key="frame" x="0.0" y="0.0" width="178" height="19"/>
+                                    <autoresizingMask key="autoresizingMask"/>
+                                    <size key="intercellSpacing" width="3" height="2"/>
+                                    <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                    <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
+                                    <tableColumns>
+                                        <tableColumn width="174.51953125" minWidth="40" maxWidth="1000" id="egO-cJ-0SR">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="uGX-aQ-Ajm">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="Jma-D8-Sfj" name="value" keyPath="arrangedObjects.name" id="Xbs-Q2-vJ0">
+                                                    <dictionary key="options">
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                    </tableColumns>
+                                </tableView>
+                            </subviews>
+                            <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </clipView>
+                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="S87-0p-UeU">
+                            <rect key="frame" x="1" y="119" width="223" height="15"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="1j5-1h-sql">
+                            <rect key="frame" x="224" y="17" width="15" height="102"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                    </scrollView>
+                    <textField verticalHuggingPriority="750" id="Qya-j5-wMv">
+                        <rect key="frame" x="90" y="66" width="96" height="22"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="N4b-6x-i6c">
+                            <font key="font" metaFont="system"/>
+                            <color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="xpW-N7-zAF">
+                        <rect key="frame" x="23" y="50" width="61" height="38"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        <size key="cellSize" width="48" height="18"/>
+                        <size key="intercellSpacing" width="4" height="2"/>
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="VzO-fr-JZO">
                             <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
-                            <font key="font" size="13" name="AquaKana"/>
+                            <font key="font" metaFont="system"/>
                         </buttonCell>
-                    </button>
+                        <cells>
+                            <column>
+                                <buttonCell type="radio" title="定数" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="qDt-fu-dFo">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                                <buttonCell type="radio" title="変数" imagePosition="left" alignment="left" inset="2" id="OhX-ac-X3D">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                        </cells>
+                    </matrix>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="DiE-GY-70N">
+                        <rect key="frame" x="87" y="243" width="202" height="18"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        <size key="cellSize" width="61" height="18"/>
+                        <size key="intercellSpacing" width="4" height="2"/>
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="tJm-XT-nOq">
+                            <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                            <font key="font" metaFont="system"/>
+                        </buttonCell>
+                        <cells>
+                            <column>
+                                <buttonCell type="radio" title="増やす" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="U3K-ET-3kh">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                            <column>
+                                <buttonCell type="radio" title="減らす" imagePosition="left" alignment="left" inset="2" id="dmr-UC-mQR">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                        </cells>
+                    </matrix>
                 </subviews>
             </view>
         </window>
             </view>
             <point key="canvasLocation" x="3448" y="2108"/>
         </window>
+        <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" animationBehavior="default" id="nNk-dn-uy1" userLabel="出現処理">
+            <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
+            <rect key="contentRect" x="196" y="207" width="545" height="367"/>
+            <rect key="screenRect" x="0.0" y="0.0" width="1920" height="1057"/>
+            <view key="contentView" id="NOY-a9-cyZ">
+                <rect key="frame" x="0.0" y="0.0" width="545" height="367"/>
+                <autoresizingMask key="autoresizingMask"/>
+                <subviews>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="Ats-9h-Wwm">
+                        <rect key="frame" x="20" y="212" width="453" height="135"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <clipView key="contentView" id="Lwi-5o-urx">
+                            <rect key="frame" x="1" y="17" width="451" height="117"/>
+                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <subviews>
+                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnReordering="NO" columnSelection="YES" columnResizing="NO" multipleSelection="NO" autosaveColumns="NO" headerView="CEX-eS-gJs" id="tdc-xg-y6U">
+                                    <rect key="frame" x="0.0" y="0.0" width="451" height="19"/>
+                                    <autoresizingMask key="autoresizingMask"/>
+                                    <size key="intercellSpacing" width="3" height="2"/>
+                                    <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                    <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
+                                    <tableColumns>
+                                        <tableColumn editable="NO" width="118" minWidth="40" maxWidth="1000" id="8UD-iF-nIS">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="出現位置">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="b2y-II-MHj">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="s5m-qC-rDg" name="value" keyPath="arrangedObjects.value" id="oPC-5a-usv">
+                                                    <dictionary key="options">
+                                                        <bool key="NSConditionallySetsEditable" value="YES"/>
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                        <tableColumn editable="NO" width="185" minWidth="40" maxWidth="1000" id="XuM-ZJ-DEO">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="出現キャラクター">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="jNK-8Z-JpB">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="s5m-qC-rDg" name="value" keyPath="arrangedObjects.name" id="SO7-eM-X36">
+                                                    <dictionary key="options">
+                                                        <bool key="NSConditionallySetsEditable" value="YES"/>
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                        <tableColumn width="139" minWidth="10" maxWidth="3.4028234663852886e+38" id="t4G-1e-0Fr">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="重なった場合出ない">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+                                            </tableHeaderCell>
+                                            <buttonCell key="dataCell" type="check" bezelStyle="regularSquare" imagePosition="left" inset="2" id="2DK-fn-KoR">
+                                                <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                                <font key="font" metaFont="system"/>
+                                            </buttonCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="s5m-qC-rDg" name="value" keyPath="arrangedObjects.chk" id="ZWt-OD-Rfw">
+                                                    <dictionary key="options">
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                    </tableColumns>
+                                </tableView>
+                            </subviews>
+                            <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </clipView>
+                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="edl-Sq-d8v">
+                            <rect key="frame" x="1" y="119" width="223" height="15"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="ajF-yn-Uyk">
+                            <rect key="frame" x="224" y="17" width="15" height="102"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                        <tableHeaderView key="headerView" id="CEX-eS-gJs">
+                            <rect key="frame" x="0.0" y="0.0" width="238" height="17"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </tableHeaderView>
+                    </scrollView>
+                    <scrollView autohidesScrollers="YES" horizontalLineScroll="34" horizontalPageScroll="10" verticalLineScroll="34" verticalPageScroll="10" usesPredominantAxisScrolling="NO" id="Nsd-ia-Y7K">
+                        <rect key="frame" x="20" y="32" width="356" height="172"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <clipView key="contentView" id="QRg-sp-1W1">
+                            <rect key="frame" x="1" y="17" width="354" height="154"/>
+                            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                            <subviews>
+                                <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="32" headerView="ATI-11-v3Z" id="uv9-Oz-dpY">
+                                    <rect key="frame" x="0.0" y="0.0" width="354" height="34"/>
+                                    <autoresizingMask key="autoresizingMask"/>
+                                    <size key="intercellSpacing" width="3" height="2"/>
+                                    <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                    <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
+                                    <tableColumns>
+                                        <tableColumn editable="NO" width="129" minWidth="40" maxWidth="1000" id="AkH-qR-ftl">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="イメージ画像">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+                                            </tableHeaderCell>
+                                            <imageCell key="dataCell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="4pp-vZ-GtE"/>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="1qd-yQ-NSy" name="value" keyPath="arrangedObjects.img" id="oPl-FK-qg4"/>
+                                            </connections>
+                                        </tableColumn>
+                                        <tableColumn editable="NO" width="219" minWidth="40" maxWidth="1000" id="Y5l-FB-UfL">
+                                            <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="キャラクター名">
+                                                <font key="font" metaFont="smallSystem"/>
+                                                <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="headerColor" catalog="System" colorSpace="catalog"/>
+                                            </tableHeaderCell>
+                                            <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="7QR-rY-p3u">
+                                                <font key="font" metaFont="system"/>
+                                                <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                            </textFieldCell>
+                                            <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
+                                            <connections>
+                                                <binding destination="1qd-yQ-NSy" name="value" keyPath="arrangedObjects.name" id="eET-Cf-zpM">
+                                                    <dictionary key="options">
+                                                        <bool key="NSCreatesSortDescriptor" value="NO"/>
+                                                    </dictionary>
+                                                </binding>
+                                            </connections>
+                                        </tableColumn>
+                                    </tableColumns>
+                                </tableView>
+                            </subviews>
+                            <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
+                        </clipView>
+                        <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="Pfc-2y-mVv">
+                            <rect key="frame" x="1" y="115.65054798126221" width="233" height="16"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                        <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="kBc-QY-AQx">
+                            <rect key="frame" x="224" y="17" width="15" height="102"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </scroller>
+                        <tableHeaderView key="headerView" id="ATI-11-v3Z">
+                            <rect key="frame" x="0.0" y="0.0" width="238" height="17"/>
+                            <autoresizingMask key="autoresizingMask"/>
+                        </tableHeaderView>
+                    </scrollView>
+                    <button verticalHuggingPriority="750" id="0Ga-m5-oml">
+                        <rect key="frame" x="405" y="91" width="66" height="32"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <buttonCell key="cell" type="push" title="選択" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="bmU-Zp-PYP">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" size="13" name="HiraKakuProN-W3"/>
+                        </buttonCell>
+                        <connections>
+                            <action selector="EDappearSet:" target="3826" id="dVa-Iz-HjT"/>
+                        </connections>
+                    </button>
+                    <button verticalHuggingPriority="750" id="eXQ-2g-Rnx">
+                        <rect key="frame" x="405" y="58" width="66" height="32"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <buttonCell key="cell" type="push" title="決定" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="23W-FB-wpW">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" size="13" name="HiraKakuProN-W3"/>
+                        </buttonCell>
+                        <connections>
+                            <action selector="EDappearSubmit:" target="3826" id="cBk-dH-8o2"/>
+                        </connections>
+                    </button>
+                    <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" autorecalculatesCellSize="YES" id="D1T-1P-oge">
+                        <rect key="frame" x="408" y="139" width="77" height="38"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        <size key="cellSize" width="74" height="18"/>
+                        <size key="intercellSpacing" width="4" height="2"/>
+                        <buttonCell key="prototype" type="radio" title="Radio" imagePosition="left" alignment="left" inset="2" id="DpS-Wi-bWJ">
+                            <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                            <font key="font" metaFont="system"/>
+                        </buttonCell>
+                        <cells>
+                            <column>
+                                <buttonCell type="radio" title="ユニット" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="5pa-J8-dqS">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                                <buttonCell type="radio" title="モビール" imagePosition="left" alignment="left" inset="2" id="1BM-Hq-M3p">
+                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
+                                    <font key="font" metaFont="system"/>
+                                </buttonCell>
+                            </column>
+                        </cells>
+                    </matrix>
+                    <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" id="h0N-18-M5F">
+                        <rect key="frame" x="378" y="187" width="155" height="17"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="※リストをダブルクリック" id="DL4-wR-Pan">
+                            <font key="font" metaFont="system"/>
+                            <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
+                            <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+                        </textFieldCell>
+                    </textField>
+                    <button verticalHuggingPriority="750" id="2R3-6R-2uM">
+                        <rect key="frame" x="455" y="330" width="18" height="18"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <buttonCell key="cell" type="smallSquare" title="-" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="dIj-nr-gVu">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" metaFont="system"/>
+                        </buttonCell>
+                        <connections>
+                            <action selector="EDappearRemove:" target="3826" id="d7j-Qt-q8q"/>
+                        </connections>
+                    </button>
+                    <button verticalHuggingPriority="750" id="xSa-2O-A4q">
+                        <rect key="frame" x="436" y="330" width="20" height="18"/>
+                        <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+                        <buttonCell key="cell" type="smallSquare" title="+" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="RnA-LF-lV9">
+                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                            <font key="font" metaFont="system"/>
+                        </buttonCell>
+                        <connections>
+                            <action selector="EDappearAdd:" target="3826" id="kLh-U0-J9Y"/>
+                        </connections>
+                    </button>
+                </subviews>
+            </view>
+            <point key="canvasLocation" x="3345.5" y="2637.5"/>
+        </window>
     </objects>
     <resources>
         <image name="BackGround" width="32" height="32"/>