-
Notifications
You must be signed in to change notification settings - Fork 3
/
FOOTER.script
9929 lines (7499 loc) · 335 KB
/
FOOTER.script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
*higan1_scroll
saveoff
skipoff
resettimer
~
gettimer %0
blt 0,0,640,480,0,%0/10,640,480
wait 1
if %0<88700 jumpb
blt 0,0,640,480,0,8870,640,480
saveon
return
*higan2c_scroll
saveoff
skipoff
resettimer
~
gettimer %0
blt 0,0,640,480,0,%0/8,640,480
wait 1
if %0<42376 jumpb
blt 0,0,640,480,0,5297,640,480
saveon
return
;*************************************************
; BT用 変数指定用ルーチン
; (グローバル変数 3500~4000を使用可能)
; (非グローバル変数 2300~2499)
;*************************************************
*BT_DEF
;音楽室用
; BGMモード、変数エリアの宣言(変数3600、3700、3800番台使用)
numalias bgmm,50 ;配列番号の指定
numalias bm_n,0 ;曲名
numalias bm_t,1 ;曲の時間指定(ミリ秒)
numalias bm_c,2 ;曲の割り当て番号(チャンネル)
numalias bm_r,3 ;ランダムモード用、チェック変数
numalias bm_k,4 ;怖い曲かどうかのチェック用変数
numalias bm_pa,5 ;ファイルパスを入力した変数番号を入力
;numalias bgm_max,28 ;曲数
dim ?bgmm[200][10]
mov %0,3700
numalias bm_m,%0 : inc %0 ;演奏モードの保持(0は一曲、1は順次、2はランダム、10以上は特殊な切替)
numalias bm_one,0
numalias bm_junnji,1
numalias bm_rnd,2
numalias bm_p,%0 : inc %0 ;演奏曲の曲番保持
numalias bm_pt,%0 : inc %0 ;演奏中の時間保持
numalias bm_pt2,%0 : inc %0 ;演奏中の時間保持
numalias bm_rnd_kazu,%0 : inc %0 ;ランダムモード用、演奏曲数
numalias bm_rpi,%0 : inc %0 ;リピートのオン、オフ
numalias bm_stop,%0 : inc %0 ;演奏のオン、オフ
numalias bgm_max1,%0 : inc %0 ;BGMの曲数
numalias bgm_max2,%0 : inc %0 ;アンビエントが始まる番号
numalias bgm_furagu,%0 : inc %0 ;bgmモード、フラグ
numalias bgm_kowai_skip,%0 : inc %0 ;bgmモード、怖い曲をスキップするかどうかのチェック
numalias bgm_mood_kaijo,%0 : inc %0 ;BGMモード解除フラグ(1で解除)
numalias bgm_mood_1min,%0 : inc %0 ;1分モードのフラグ
numalias bgm_mood_demo,%0 : inc %0 ;デモモードのフラグ
numalias bgm_mood_demo_kaisuu,%0 : inc %0 ;デモモード、オープニングを一定回数毎に再生する為のチェック変数
numalias bgm_mood_turu_pettan_no,%0 : inc %0 ;ツルペッタンの曲番号
numalias bgm_mood_op_no,%0 : inc %0 ;OPムービーの番号(デモモードで使用)
numalias bgm_mood_op2_no,%0 : inc %0 ;OPムービー2の番号(デモモードで使用)
numalias bgm_mood_op3_no,%0 : inc %0 ;OPムービー3の番号(デモモードで使用)
numalias bgm_mood_ed_no,%0 : inc %0 ;EDの番号(デモモードで使用)
numalias bgm_mood_me1_no,%0 : inc %0 ;ME1
numalias bgm_mood_me1_btn_no,%0 : inc %0 ;ME1
numalias bgm_mood_me2_no,%0 : inc %0 ;ME2
numalias bgm_mood_me2_btn_no,%0 : inc %0 ;ME2
numalias bgm_mood_file_path_flg,%0 : inc %0 ;ファイルパスを取得するフラグ
numalias bgm_mood_sha_hoe_flg,%0 : inc %0 ;1だと紗音がほえ~するようになる。
numalias bgm_mood_tyokuzenn_op_fede_skip,%0 : inc %0 ;直前がOPだったかどうかを判断するフラグ変数。
numalias bgm_mood_demo_zennkai_nagasita_op,%0 : inc %0 ;直前のOPがどれだったかを判断するフラグ変数。
numalias bgm_mood_page,%0 : inc %0 ;曲一覧ページ数。
numalias END_MUSIC_FLG,%0 : inc %0 ;音楽室追加告知フラグ
;システムボタン用割付
;mov %1,154
mov %1,184
numalias bgm_btn_ennsou,%1 : inc %1 ;演奏
numalias bgm_btn_stop,%1 : inc %1 ;停止
numalias bgm_btn_zennkyoku,%1 : inc %1 ;全曲演奏
numalias bgm_btn_ranndamu,%1 : inc %1 ;ランダム演奏
numalias bgm_btn_rpi,%1 : inc %1 ;繰り返し演奏
numalias bgm_btn_kowai_skip,%1 : inc %1 ;怖い曲を飛ばす
numalias bgm_btn_kowai_only,%1 : inc %1 ;怖い曲だけ演奏
numalias bgm_btn_min,%1 : inc %1 ;1分モード
numalias bgm_btn_demo,%1 : inc %1 ;デモモード
numalias bgm_btn_title,%1 : inc %1 ;タイトルへ戻る
numalias bgm_btn_next,%1 : inc %1 ;曲一覧、ネクストページ
numalias bgm_btn_back,%1 : inc %1 ;曲一覧、バックページ
numalias bgm_x,%1 : inc %1 ;座標指定用変数
numalias bgm_y1,%1 : inc %1 ;座標指定用変数
numalias bgm_y2,%1 : inc %1 ;座標指定用変数
numalias bgm_y3,%1 : inc %1 ;座標指定用変数
mov %1,40
numalias bgm_window_lsp,%1 : dec %1 ;ウィンドウ枠用のスプライト番号
numalias bgm_btn_ennsou_lsp,%1 : dec %1 ;演奏
numalias bgm_ennsou_lsp,%1 : dec %1 ;演奏
numalias bgm_btn_zennkyoku_lsp,%1 : dec %1 ;全曲演奏
numalias bgm_zennkyoku_lsp,%1 : dec %1 ;全曲演奏
numalias bgm_btn_ranndamu_lsp,%1 : dec %1 ;ランダム演奏
numalias bgm_ranndamu_lsp,%1 : dec %1 ;ランダム演奏
numalias bgm_btn_stop_lsp,%1 : dec %1 ;停止
numalias bgm_btn_rpi_lsp,%1 : dec %1 ;繰り返し演奏
numalias bgm_rpi_lsp,%1 : dec %1 ;繰り返し演奏
numalias bgm_btn_min_lsp,%1 : dec %1 ;1分モード
numalias bgm_min_lsp,%1 : dec %1 ;1分モード
numalias bgm_btn_demo_lsp,%1 : dec %1 ;デモモード
numalias bgm_demo_lsp,%1 : dec %1 ;デモモード
numalias bgm_btn_kowai_skip_lsp,%1 : dec %1 ;怖い曲を飛ばす
numalias bgm_kowai_skip_lsp,%1 : dec %1 ;怖い曲を飛ばす
numalias bgm_btn_kowai_only_lsp,%1 : dec %1 ;怖い曲だけ演奏
numalias bgm_kowai_only_lsp,%1 : dec %1 ;怖い曲だけ演奏
numalias bgm_btn_title_lsp,%1 : dec %1 ;タイトルへ戻る
numalias bgm_btn_next_lsp,%1 : dec %1 ;曲一覧、ネクストページ
numalias bgm_btn_back_lsp,%1 : dec %1 ;曲一覧、バックページ
;曲情報表示用スプライト
numalias bgm_title_lsp,%1 : dec %1 ;タイトル名
numalias bgm_sakka_lsp,%1 : dec %1 ;作家名
numalias bgm_time_lsp,%1 : dec %1 ;曲の長さ
;-----------------------------------------------------------
;時計処理用
mov %0,3900
numalias tmp,%0 : inc %0 ;作業用変数
numalias tmp1,%0 : inc %0 ;作業用変数
numalias tmp2,%0 : inc %0 ;作業用変数
numalias tmp3,%0 : inc %0 ;作業用変数
numalias tmp4,%0 : inc %0 ;作業用変数
numalias tmp5,%0 : inc %0 ;作業用変数
numalias tmp6,%0 : inc %0 ;作業用変数
numalias tmp7,%0 : inc %0 ;作業用変数
numalias tmp8,%0 : inc %0 ;作業用変数
numalias tmp9,%0 : inc %0 ;作業用変数
numalias tmp10,%0 : inc %0 ;作業用変数
numalias tmp11,%0 : inc %0 ;作業用変数
numalias tmp12,%0 : inc %0 ;作業用変数
numalias tmp13,%0 : inc %0 ;作業用変数
numalias tmp14,%0 : inc %0 ;作業用変数
numalias tmp15,%0 : inc %0 ;作業用変数
numalias ran,%0 : inc %0 ;作業用変数
numalias ran1,%0 : inc %0 ;作業用変数
numalias ran2,%0 : inc %0 ;作業用変数
numalias ran3,%0 : inc %0 ;作業用変数
numalias ran4,%0 : inc %0 ;作業用変数
numalias ran5,%0 : inc %0 ;作業用変数
numalias meta_tmp1,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp2,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp3,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp4,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp5,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp6,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp7,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp8,%0 : inc %0 ;メタ視処理用_作業用変数
numalias meta_tmp9,%0 : inc %0 ;メタ視処理用_作業用変数
numalias efe_spd1,%0 : inc %0 ;エフェクトスピード用変数
numalias efe_spd2,%0 : inc %0 ;エフェクトスピード用変数
numalias debag_save_no,%0 : inc %0 ;デバッグ用セーブ変数
numalias debag_save_count,%0 : inc %0 ;カウント
mov %debag_save_count,0
numalias debag_load_no,%0 : inc %0 ;デバッグロード用の変数を保持
numalias msp_l,883 ;メタ世界、左立ち絵スプライト番号
numalias msp_l2,884 ;メタ世界、左立ち絵スプライト番号
numalias msp_c,885 ;メタ世界、真ん中立ち絵スプライト番号
numalias msp_c2,886 ;メタ世界、真ん中立ち絵スプライト番号
numalias msp_r,887 ;メタ世界、右立ち絵スプライト番号
numalias msp_r2,888 ;メタ世界、右立ち絵スプライト番号
numalias msp_bg,889 ;メタ世界、背景スプライト番号
numalias tati_l1,984 ;通常立ち絵
numalias tati_l2,985 ;通常立ち絵
numalias tati_c1,982 ;通常立ち絵
numalias tati_c2,983 ;通常立ち絵
numalias tati_r1,980 ;通常立ち絵
numalias tati_r2,981 ;通常立ち絵
numalias bg_def,986 ;通常bg
numalias msp_hana_d,887 ;メタ世界、華模様下 スプライト番号
numalias msp_hana_u,888 ;メタ世界、華模様上 スプライト番号
numalias msp_kuro,889 ;メタ世界、黒幕 スプライト番号
numalias x_get_tmp1,%0 : inc %0 ;作業用変数
numalias x_get_tmp2,%0 : inc %0 ;作業用変数
numalias x_get_tmp3,%0 : inc %0 ;作業用変数
numalias x_get_tmp4,%0 : inc %0 ;作業用変数
numalias x_get_tmp5,%0 : inc %0 ;作業用変数
numalias fry_tmp1,%0 : inc %0 ;バタフライ処理用_作業用変数
numalias fry_tmp2,%0 : inc %0
numalias l,1 ;メタ視処理用_作業用変数
numalias c,2 ;メタ視処理用_作業用変数
;numalias r,3 ;メタ視処理用_作業用変数
numalias a,4 ;メタ視処理用_作業用変数
stralias white,"white" ;メタ視処理用_作業用変数
stralias black,"black" ;メタ視処理用_作業用変数
;黒と白のエフェクト
stralias r_black,":c;bmp\r_click\black.bmp"
stralias r_white,":c;bmp\r_click\white.bmp"
numalias debagu,%0 : inc %0 ;デバック用変数
;タイトル画面表示関連
numalias title_skip,%0 : inc %0
numalias END_FLG,%0 : inc %0 ;新要素追加の告知、チェック変数
numalias END_TIPS_FLG,%0 : inc %0 ;Tips新要素追加告知、チェック変数
numalias END_TEA_FLG,%0 : inc %0 ;Tips新要素追加告知、チェック変数
;セーブ時コメントのルビを正常に表示する為の変数
numalias ru1,%0 : inc %0
numalias ru2,%0 : inc %0
numalias ru3,%0 : inc %0
numalias m_temp1,%0 : inc %0
numalias m_temp2,%0 : inc %0
;----------------------------------
;右クリックシステム用変数宣言
;システムボタン
;tipsボタンのパスの入力(1シナリオ1番目のtipsは tips1_1.bmp と表記)
;tips、ページ送りボタンのパス入力
stralias tips_next,":c/2,0,3;bmp\r_click\tips_btn\tips_next.bmp"
stralias tips_back,":c/2,0,3;bmp\r_click\tips_btn\tips_back.bmp"
;タイトルバック、確認メッセージ用
stralias title_back_yes,":a/2,0,3;bmp\r_click\sys_btn\yes.bmp"
stralias title_back_no,":a/2,0,3;bmp\r_click\sys_btn\no.bmp"
stralias title_back_bg,":c/2,0,3;bmp\r_click\sys_btn\title_bg.bmp"
numalias tips,60 ;ティップス用の配列を設定
dim ?tips[10][5] ;一次元はティップス番号 二次元は各種フラグなど
mov %0,0
numalias tips_page_max,%0 : inc %0 ;そのtipsのページ数
numalias tips_flg,%0 : inc %0 ;tipsを手に入れたかどうかのチェック変数
mov %0,100
numalias title_back_yes_lsp,%0 : inc %0
numalias title_back_no_lsp,%0 : inc %0
numalias title_back_bg_lsp,%0 : inc %0
numalias tips1_lsp,%0 : inc %0
numalias tips2_lsp,%0 : inc %0
numalias tips3_lsp,%0 : inc %0
numalias tips4_lsp,%0 : inc %0
numalias tips5_lsp,%0 : inc %0
numalias tips6_lsp,%0 : inc %0
numalias tips7_lsp,%0 : inc %0
numalias tips_next_lsp,%0 : inc %0
numalias tips_back_lsp,%0 : inc %0
numalias cha_page_mode,%0 : inc %0
numalias cha_text_page,%0 : inc %0 ;現在表示しているキャラテキストページ
numalias cha_next_lsp,%0 : inc %0
numalias cha_back_lsp,%0 : inc %0
numalias cha_page_flg,%0 : inc %0
;システムボタンのパスの入力
stralias r_save,":a/2,0,3;bmp\r_click\sys_btn\save.bmp" ;セーブ&ロード
stralias r_load,":a/2,0,3;bmp\r_click\sys_btn\load.bmp" ;セーブ&ロード
stralias r_blog,":a/2,0,3;bmp\r_click\sys_btn\log.bmp" ;バックログ
stralias r_title,":a/2,0,3;bmp\r_click\sys_btn\title.bmp" ;ウィンドクリアー
stralias r_exit,":a/2,0,3;bmp\r_click\sys_btn\exit.bmp"
numalias r_char_lsp,%0 : inc %0
numalias r_tips_lsp,%0 : inc %0
numalias r_save_lsp,%0 : inc %0
numalias r_load_lsp,%0 : inc %0
numalias r_blog_lsp,%0 : inc %0
numalias r_exec_lsp,%0 : inc %0
numalias r_resu_lsp,%0 : inc %0
numalias r_title_lsp,%0 : inc %0
numalias r_exit_lsp,%0 : inc %0
numalias r_next_lsp,%0 : inc %0
numalias r_next2_lsp,%0 : inc %0
;キャラ一覧のボタン用スプライト番号
mov %tmp10,%0 ;魔女空間とでスプライト番号を共用する。
mov %tmp11,%0
mov %0,%tmp10
;mov %0,%tmp11
add %0,5
numalias r_cha_txt_lsp,%0 : inc %0 ;キャラコメントテキスト用
;立ち絵用、スプライト番号
numalias cha_lsp,%0 : inc %0
;飾り背景
stralias r_hana,":a;bmp\r_click\hana_back.bmp" ;右下、花模様
;stralias r_cha_back,":c;bmp\r_click\cha_btn\cha_back.bmp" ;キャラ一覧表示の黒背景
stralias r_tips1_back,":c;bmp\r_click\tips_btn\tips1_back.bmp" ;tips用黒背景
numalias r_tips_txt_lsp,%0 : inc %0
numalias r_hana_lsp,%0 : inc %0
numalias r_txt_lsp,%0 : inc %0
numalias r_cha_back_lsp,%0 : inc %0
numalias r_cha_back,%0 : inc %0 ;キャラ一覧表示、背景画像へのパス
numalias r_tips1_back_lsp,%0 : inc %0
;右クリック入る前のボタンメニュー表示用
numalias r_system_lsp,%0 : inc %0
numalias r_clear_lsp,%0 : inc %0
numalias r_used_lsp,%0 ;何番までスプライトを使用したかを保持する(背景画像は除く、保持しない)
numalias r_black_lsp,%0 : inc %0 ;明るさを落す処理
numalias r_bg_lsp,%0 ;背景用スプライト番号
;キャラの状態、管理変数
numalias r,61
dim ?r[8][50][15]
numalias r_cha_text,62
dim ?r_cha_text[8][50][5]
mov %1,6 ;0~5までは状態をいれる為の変数
numalias tati_x,%1 : inc %1 ;立ち絵の表示位置、X座標
numalias itiran_x,%1 : inc %1 ;一覧表示アイコン位置、X座標
numalias itiran_y,%1 : inc %1 ;一覧表示アイコン位置、Y座標
numalias condition,%1 : inc %1 ;キャラの状態
numalias condition_end,%1 : inc %1 ;キャラのコンディションの末端数(0から始るので実質+1)
numalias r_ishou,%1 : inc %1 ;キャラの衣装フラグ(0~)
;numalias coment,%1 : inc %1 ;表示コメント
;システム用変数
mov %0,2300
;------------------------
;右クリック関連
numalias clear_flg,%0 : inc %0 ;シナリオクリアのフラグ(後で変更する可能性大)
numalias r_for_title,%0 : inc %0 ;タイトルメニューから入って来たかどうかを判断
numalias r_txt_path,%0 : inc %0 ;テキスト文画像へのパス
numalias r_tips_txt_path,%0 : inc %0 ;チップステキスト文画像へのパス
numalias r_cha_tati_path,%0 : inc %0 ;表示キャラ、キャラの画像パス
numalias r_bg_path,%0 : inc %0 ;背景画像のパス
;EP5 魔女サイド キャラの総数
numalias cha_kazu_ep5_2,%1 : inc %1
;--------------------
;右クリックシステム、上余白
numalias r_top_y,30
;右クリックシステムボタン、Y座標(上余白+228ピクセル)
mov %tmp,r_top_y : add %tmp,228
numalias r_menu_top_y,%tmp
;------------------------
;----------------------------------------
;セーブロードシステム用
;mov %0,100
;numalias b_save,%0 : inc %0
;numalias b_load,%0 : inc %0
;numalias b_rmenu_btn_Exit,%0 : inc %0
numalias load_for_title,%0 : inc %0 ;タイトルからロードに入ったかのチェック
mov %load_for_title,0
numalias black_toukaritu,150 ;黒幕透過率
numalias debag_save_flg,%0 : inc %0 ;自動セーブ用のフラグ変数(デフォは0にする)
;----------------------------------------
;タイトル画面ようスプライト番号
mov %0,100
numalias t_bg_lsp,%0 : dec %0 ;100
numalias t_hane_lsp,%0 : dec %0 ;99
numalias t_logo_lsp,%0 : dec %0 ;98
numalias t_btn_start_lsp,%0 : dec %0 ;97
numalias t_btn_web_lsp,%0 : dec %0 ;96
numalias t_btn_exit_lsp,%0 : dec %0 ;95
dec %0 ;94
numalias t_btn_tips_lsp,%0 : dec %0 ;93
numalias t_btn_music_lsp,%0 : dec %0 ;92
numalias t_btn_ura_tea_lsp,%0 : dec %0 ;91
numalias t_btn_load_lsp,7
dec %0 ;90
numalias t_txt_bg_lsp,%0 : dec %0 ;89
dec %0 ;88
numalias t_txt_load_lsp,%0 : dec %0 ;87
numalias t_txt_web_lsp,%0 : dec %0 ;86
numalias t_txt_tea_lsp,%0 : dec %0 ;85
numalias t_txt_tips_lsp,%0 : dec %0 ;84
numalias t_txt_music_lsp,%0 : dec %0 ;83
numalias t_txt_start_lsp,%0 : dec %0 ;82
numalias t_txt_exit_lsp,%0 : dec %0 ;81
numalias t_txt_ura_tea_lsp,%0 : dec %0 ;80
dec %0
numalias t_txt_lock_lsp,%0 : dec %0 ;78
numalias t_txt_unlock_lsp,%0 : dec %0 ;77
mov %0,75
numalias t_btn_ep1_lsp,%0 : dec %0 ;75
numalias t_btn_ep2_lsp,%0 : dec %0 ;74
numalias t_btn_ep3_lsp,%0 : dec %0 ;73
numalias t_btn_ep4_lsp,%0 : dec %0 ;72
numalias t_btn_ep5_lsp,%0 : dec %0 ;71
numalias t_btn_ep6_lsp,%0 : dec %0 ;70
numalias t_btn_ep7_lsp,%0 : dec %0 ;69
numalias t_back_lsp,%0 : dec %0 ;68
mov %0,18
numalias t_txt_ep1_lsp,%0 : dec %0 ;18
numalias t_txt_ep2_lsp,%0 : dec %0 ;17
numalias t_txt_ep3_lsp,%0 : dec %0 ;16
numalias t_txt_ep4_lsp,%0 : dec %0 ;15
numalias t_txt_ep5_lsp,%0 : dec %0 ;14
numalias t_txt_ep6_lsp,%0 : dec %0 ;13
numalias t_txt_ep7_lsp,%0 : dec %0 ;12
;mov %0,61
;numalias t_btn_ep2_lock_lsp,%0 : dec %0 ;61
;numalias t_btn_ep3_lock_lsp,%0 : dec %0 ;60
;numalias t_btn_ep4_lock_lsp,%0 : dec %0 ;59
;numalias t_btn_ep5_lock_lsp,%0 : dec %0 ;58
;numalias t_btn_ep6_lock_lsp,%0 : dec %0 ;57
;numalias t_btn_ep7_lock_lsp,%0 : dec %0 ;56
;mov %0,55
;numalias t_btn_ep2_unlock_lsp,%0 : dec %0 ;55
;numalias t_btn_ep3_unlock_lsp,%0 : dec %0 ;54
;numalias t_btn_ep4_unlock_lsp,%0 : dec %0 ;53
;numalias t_btn_ep5_unlock_lsp,%0 : dec %0 ;52
;numalias t_btn_ep6_unlock_lsp,%0 : dec %0 ;51
;numalias t_btn_ep7_unlock_lsp,%0 : dec %0 ;50
;mov %0,49
;numalias t_btn_after_lsp,%0 : dec %0 ;50
;numalias t_btn_ep6_tea_lsp,%0 : dec %0 ;49
;numalias t_btn_ep7_tea_lsp,%0 : dec %0 ;48
;numalias t_btn_ep8_tea_lsp,%0 : dec %0 ;47
mov %0,45
numalias t_txt_after_lsp,%0 : dec %0 ;45
;numalias t_txt_ep6_tea_lsp,%0 : dec %0 ;64
;numalias t_txt_ep7_tea_lsp,%0 : dec %0 ;63
;numalias t_txt_ep8_tea_lsp,%0 : dec %0 ;62
;mov %0,40
;numalias t_btn_tips_lsp,%0 : dec %0 ;60
;numalias t_btn_ep6_tips_lsp,%0 : dec %0 ;59
;numalias t_btn_ep7_tips_lsp,%0 : dec %0 ;58
;numalias t_btn_ep8_tips_lsp,%0 : dec %0 ;58
;mov %0,35
;numalias t_txt_tips_lsp,%0 : dec %0 ;60
;numalias t_txt_ep6_tips_lsp,%0 : dec %0 ;59
;numalias t_txt_ep7_tips_lsp,%0 : dec %0 ;59
;numalias t_txt_ep8_tips_lsp,%0 : dec %0 ;59
;mov %0,30
;numalias t_btn_ep5_ura_tea_lsp,%0 : dec %0 ;60
;numalias t_btn_ep6_ura_tea_lsp,%0 : dec %0 ;59
;numalias t_btn_ep7_ura_tea_lsp,%0 : dec %0 ;59
;numalias t_btn_ep8_ura_tea_lsp,%0 : dec %0 ;59
;mov %0,25
;numalias t_txt_ep5_ura_tea_lsp,%0 : dec %0 ;60
;numalias t_txt_ep6_ura_tea_lsp,%0 : dec %0 ;59
;numalias t_txt_ep7_ura_tea_lsp,%0 : dec %0 ;59
;numalias t_txt_ep8_ura_tea_lsp,%0 : dec %0 ;59
mov %0,10
numalias unlock_bg_lsp,%0 : dec %0 ;10
numalias unlock_yes_lsp,%0 : dec %0 ;9
numalias unlock_no_lsp,%0 : dec %0 ;8
;----------------------------------------
return
;*************************************************
;*************************************************
; ゲーム開始時、変数の初期化
;*************************************************
*bt_def2
return
;*************************************************
;***********************************************************************
;
;彼岸花の咲く夜に
;BGM、試聴モード(変数3700、3800番台使用)
;
;***********************************************************************
*bgm_mode
;***【初期化処理】******************************************************
E_A ;現在演奏中の曲をストップする
setwindow 31,16,22,16,22,22,0,2,20,1,1,#ffffff,0,0,639,479
textclear
rmode 0 ;右クリックメニューの無効化
erasetextwindow 0
csp -1 ;スプライト画像の、メモリからの消去
btndef "" ;ボタン画像の、メモリからの消去
;print 10,1000 ;画像の消去
;衣装の初期化
seplay 9,82
seplay 10,82
bg black,24
; bg white,22
delay 500
;print 1
mov %bm_m,0
mov %bm_p,1 ;最初に流れる曲の番号
mov %bm_rnd_kazu,0
mov %bm_rpi,1
mov %bm_stop,0
mov %bgm_kowai_skip,0
mov %bgm_mood_1min,0
mov %bgm_mood_demo,0
mov %bgm_mood_file_path_flg,0
mov %bgm_mood_tyokuzenn_op_fede_skip,0
mov %bgm_mood_page,1 ;曲一覧ページ数
if %END_MUSIC_FLG = 1 mov %END_MUSIC_FLG,0 ;新規追加告知フラグ
mov %bgm_mood_demo_zennkai_nagasita_op,3
bgmvol 70 : mov %BGM_v_Ch,70
mov %bgm_max2,39 ;アンビエントも含めた曲数(登録数+1)
mov %bgm_mood_turu_pettan_no,94 ;ツルペッタンの番号(重複欠番の94を当てる)
mov %bgm_mood_op_no,%3801 : inc %3801 ;ムービーの番号(デモモードで使用)
mov %bgm_mood_op2_no,%3801 : inc %3801 ;ムービーの番号(デモモードで使用)
mov %bgm_mood_op3_no,%3801 : inc %3801 ;ムービーの番号(デモモードで使用)
mov %bgm_mood_ed_no,%3801 : inc %3801 ;EDの番号(デモモードでは演奏を行わない)
mov %bgm_mood_me1_no,%3801 : inc %3801 ;MEの番号
mov %bgm_mood_me2_no,%3801 : inc %3801 ;MEの番号
mov %bgm_mood_me1_btn_no,0 ;MEの(ファイルパス数字変数)
mov %bgm_mood_me2_btn_no,0 ;MEの(ファイルパス数字変数)
mov %bgm_mood_demo_kaisuu,0 ;デモモード時、一定回数毎にOPを流す為の変数。
;ランダムチェック変数の初期化
for %3801 = 0 to %bgm_max2
mov ?bgmm[%3801][bm_r],0
next
;***【データ入力】******************************************************
;データを順番に入力、曲の順番を入れ替える時は、順序をそのまま入れ替える
gosub *bgm_mode_bgm_date_input
;製作中一時変更点
mov %bm_pt,?bgmm[%bm_p][bm_t]
;bgm $?bgmm[%bm_p][bm_pa]
;delay 500
;bgm $?bgmm[%bm_p][bm_pa]
;bgm1v 2,70
mov $BGM_Play,"bgm\BGM_MZ_2_07.ogg": mov %Set_vol,50 : gosub *BGM_Play_Mord
mov $tmp,":c;" : add $tmp,"bgm_mode\bgm_back.bmp"
lsp 510,$tmp,0,0
;bg black,22 ;18,1000,":c;Bmp\Efe\1.bmp"
;ウィンドウの表示
lsp bgm_window_lsp,":a;bgm_mode\window.bmp",0,256
;print 22
lsp 499,":c;bmp\r_click\black.bmp",0,0,150
;print 22
;setwindow 40,16,22,16,26,26,0,2,20,1,1,#ffffff,0,0,639,479
;lsp 50,":s#FFFFFF演奏したい曲を選んでクリックして下さい",60,11
print 22
setwindow 31,16,22,16,14,14,0,2,20,1,1,#ffffff,0,0,639,479
;文字スプライトを作成してボタン化する
;4列、15行で固定
mov %3805,301
mov %3807,101
mov %3806,15 ;曲一覧の、一番上の高さ
mov %3801,25 : mov %3802,%3806 : mov %3803,0 : mov %3804,19
lsp %3805,":s#B7B7B7#FF1D1D$4001",%3801,%3802 : lsph %3807,":s#FFFFFF$4001",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4002",%3801,%3802 : lsph %3807,":s#FFFFFF$4002",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4003",%3801,%3802 : lsph %3807,":s#FFFFFF$4003",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4004",%3801,%3802 : lsph %3807,":s#FFFFFF$4004",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4005",%3801,%3802 : lsph %3807,":s#FFFFFF$4005",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4006",%3801,%3802 : lsph %3807,":s#FFFFFF$4006",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4007",%3801,%3802 : lsph %3807,":s#FFFFFF$4007",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4008",%3801,%3802 : lsph %3807,":s#FFFFFF$4008",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4009",%3801,%3802 : lsph %3807,":s#FFFFFF$4009",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4010",%3801,%3802 : lsph %3807,":s#FFFFFF$4010",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4011",%3801,%3802 : lsph %3807,":s#FFFFFF$4011",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4012",%3801,%3802 : lsph %3807,":s#FFFFFF$4012",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4013",%3801,%3802 : lsph %3807,":s#FFFFFF$4013",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
mov %3801,140 : mov %3802,%3806 : mov %3803,0
lsp %3805,":s#B7B7B7#FF1D1D$4014",%3801,%3802 : lsph %3807,":s#FFFFFF$4014",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4015",%3801,%3802 : lsph %3807,":s#FFFFFF$4015",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4016",%3801,%3802 : lsph %3807,":s#FFFFFF$4016",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4017",%3801,%3802 : lsph %3807,":s#FFFFFF$4017",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4018",%3801,%3802 : lsph %3807,":s#FFFFFF$4018",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4019",%3801,%3802 : lsph %3807,":s#FFFFFF$4019",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4020",%3801,%3802 : lsph %3807,":s#FFFFFF$4020",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4021",%3801,%3802 : lsph %3807,":s#FFFFFF$4021",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4022",%3801,%3802 : lsph %3807,":s#FFFFFF$4022",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4023",%3801,%3802 : lsph %3807,":s#FFFFFF$4023",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4024",%3801,%3802 : lsph %3807,":s#FFFFFF$4024",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4025",%3801,%3802 : lsph %3807,":s#FFFFFF$4025",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4026",%3801,%3802 : lsph %3807,":s#FFFFFF$4026",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
mov %3801,330 : mov %3802,%3806 : mov %3803,0
lsp %3805,":s#B7B7B7#FF1D1D$4027",%3801,%3802 : lsph %3807,":s#FFFFFF$4027",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4028",%3801,%3802 : lsph %3807,":s#FFFFFF$4028",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4029",%3801,%3802 : lsph %3807,":s#FFFFFF$4029",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4030",%3801,%3802 : lsph %3807,":s#FFFFFF$4030",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4031",%3801,%3802 : lsph %3807,":s#FFFFFF$4031",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4032",%3801,%3802 : lsph %3807,":s#FFFFFF$4032",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4033",%3801,%3802 : lsph %3807,":s#FFFFFF$4033",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4034",%3801,%3802 : lsph %3807,":s#FFFFFF$4034",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4035",%3801,%3802 : lsph %3807,":s#FFFFFF$4035",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4036",%3801,%3802 : lsph %3807,":s#FFFFFF$4036",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4037",%3801,%3802 : lsph %3807,":s#FFFFFF$4037",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4038",%3801,%3802 : lsph %3807,":s#FFFFFF$4038",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
lsp %3805,":s#B7B7B7#FF1D1D$4039",%3801,%3802 : lsph %3807,":s#FFFFFF$4039",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4040",%3801,%3802 : lsph %3807,":s#FFFFFF$4040",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4041",%3801,%3802 : lsph %3807,":s#FFFFFF$4041",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4042",%3801,%3802 : lsph %3807,":s#FFFFFF$4042",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4043",%3801,%3802 : lsph %3807,":s#FFFFFF$4043",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4044",%3801,%3802 : lsph %3807,":s#FFFFFF$4044",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4045",%3801,%3802 : lsph %3807,":s#FFFFFF$4045",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;mov %3801,480 : mov %3802,%3806 : mov %3803,0
;lsp %3805,":s#B7B7B7#FF1D1D$4046",%3801,%3802 : lsph %3807,":s#FFFFFF$4046",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4047",%3801,%3802 : lsph %3807,":s#FFFFFF$4047",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4048",%3801,%3802 : lsph %3807,":s#FFFFFF$4048",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4049",%3801,%3802 : lsph %3807,":s#FFFFFF$4049",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4050",%3801,%3802 : lsph %3807,":s#FFFFFF$4050",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4051",%3801,%3802 : lsph %3807,":s#FFFFFF$4051",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4052",%3801,%3802 : lsph %3807,":s#FFFFFF$4052",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4053",%3801,%3802 : lsph %3807,":s#FFFFFF$4053",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4054",%3801,%3802 : lsph %3807,":s#FFFFFF$4054",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4055",%3801,%3802 : lsph %3807,":s#FFFFFF$4055",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4056",%3801,%3802 : lsph %3807,":s#FFFFFF$4056",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4057",%3801,%3802 : lsph %3807,":s#FFFFFF$4057",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4058",%3801,%3802 : lsph %3807,":s#FFFFFF$4058",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4059",%3801,%3802 : lsph %3807,":s#FFFFFF$4059",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4060",%3801,%3802 : lsph %3807,":s#FFFFFF$4060",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;2ページ目に移行
;mov %3801,25 : mov %3802,%3806 : mov %3803,0
;lsph %3805,":s#B7B7B7#FF1D1D$4061",%3801,%3802 : lsph %3807,":s#FFFFFF$4061",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4062",%3801,%3802 : lsph %3807,":s#FFFFFF$4062",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4063",%3801,%3802 : lsph %3807,":s#FFFFFF$4063",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4064",%3801,%3802 : lsph %3807,":s#FFFFFF$4064",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4065",%3801,%3802 : lsph %3807,":s#FFFFFF$4065",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4066",%3801,%3802 : lsph %3807,":s#FFFFFF$4066",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4067",%3801,%3802 : lsph %3807,":s#FFFFFF$4067",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4068",%3801,%3802 : lsph %3807,":s#FFFFFF$4068",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4069",%3801,%3802 : lsph %3807,":s#FFFFFF$4069",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4070",%3801,%3802 : lsph %3807,":s#FFFFFF$4070",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4071",%3801,%3802 : lsph %3807,":s#FFFFFF$4071",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4072",%3801,%3802 : lsph %3807,":s#FFFFFF$4072",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4073",%3801,%3802 : lsph %3807,":s#FFFFFF$4073",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4074",%3801,%3802 : lsph %3807,":s#FFFFFF$4074",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4075",%3801,%3802 : lsph %3807,":s#FFFFFF$4075",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;mov %3801,175 : mov %3802,%3806 : mov %3803,0
;lsph %3805,":s#B7B7B7#FF1D1D$4076",%3801,%3802 : lsph %3807,":s#FFFFFF$4076",%38;01,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4077",%3801,%3802 : lsph %3807,":s#FFFFFF$4077",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4078",%3801,%3802 : lsph %3807,":s#FFFFFF$4078",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4079",%3801,%3802 : lsph %3807,":s#FFFFFF$4079",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4080",%3801,%3802 : lsph %3807,":s#FFFFFF$4080",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4081",%3801,%3802 : lsph %3807,":s#FFFFFF$4081",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4082",%3801,%3802 : lsph %3807,":s#FFFFFF$4082",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4083",%3801,%3802 : lsph %3807,":s#FFFFFF$4083",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4084",%3801,%3802 : lsph %3807,":s#FFFFFF$4084",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4085",%3801,%3802 : lsph %3807,":s#FFFFFF$4085",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4086",%3801,%3802 : lsph %3807,":s#FFFFFF$4086",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4087",%3801,%3802 : lsph %3807,":s#FFFFFF$4087",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4088",%3801,%3802 : lsph %3807,":s#FFFFFF$4088",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4089",%3801,%3802 : lsph %3807,":s#FFFFFF$4089",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsph %3805,":s#B7B7B7#FF1D1D$4090",%3801,%3802 : lsph %3807,":s#FFFFFF$4090",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;mov %3801,330 : mov %3802,%3806 : mov %3803,0
;lsp %3805,":s#B7B7B7#FF1D1D$4091",%3801,%3802 : lsph %3807,":s#FFFFFF$4091",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4092",%3801,%3802 : lsph %3807,":s#FFFFFF$4092",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4093",%3801,%3802 : lsph %3807,":s#FFFFFF$4093",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4094",%3801,%3802 : lsph %3807,":s#FFFFFF$4094",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4095",%3801,%3802 : lsph %3807,":s#FFFFFF$4095",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4096",%3801,%3802 : lsph %3807,":s#FFFFFF$4096",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4097",%3801,%3802 : lsph %3807,":s#FFFFFF$4097",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4098",%3801,%3802 : lsph %3807,":s#FFFFFF$4098",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4099",%3801,%3802 : lsph %3807,":s#FFFFFF$4099",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4100",%3801,%3802 : lsph %3807,":s#FFFFFF$4100",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4101",%3801,%3802 : lsph %3807,":s#FFFFFF$4101",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4102",%3801,%3802 : lsph %3807,":s#FFFFFF$4102",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4103",%3801,%3802 : lsph %3807,":s#FFFFFF$4103",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4104",%3801,%3802 : lsph %3807,":s#FFFFFF$4104",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4105",%3801,%3802 : lsph %3807,":s#FFFFFF$4105",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;mov %3801,485 : mov %3802,%3806 : mov %3803,0
;lsp %3805,":s#B7B7B7#FF1D1D$4106",%3801,%3802 : lsph %3807,":s#FFFFFF$4106",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4107",%3801,%3802 : lsph %3807,":s#FFFFFF$4107",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4108",%3801,%3802 : lsph %3807,":s#FFFFFF$4108",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4109",%3801,%3802 : lsph %3807,":s#FFFFFF$4109",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4110",%3801,%3802 : lsph %3807,":s#FFFFFF$4110",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4111",%3801,%3802 : lsph %3807,":s#FFFFFF$4111",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4112",%3801,%3802 : lsph %3807,":s#FFFFFF$4112",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4113",%3801,%3802 : lsph %3807,":s#FFFFFF$4113",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4114",%3801,%3802 : lsph %3807,":s#FFFFFF$4114",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4115",%3801,%3802 : lsph %3807,":s#FFFFFF$4115",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
;lsp %3805,":s#B7B7B7#FF1D1D$4116",%3801,%3802 : lsph %3807,":s#FFFFFF$4116",%3801,%3802 : add %3802,%3804 : inc %3805 : inc %3807
*bgm_mode_mini_skip
;各システムボタンの配置
;mov %3801,30
mov %3802,409
mov %3803,436
mov %3804,444
lsp bgm_ennsou_lsp,":a;bgm_mode\ensou_w.bmp",43,%3802 +1
lsph bgm_btn_ennsou_lsp,":a/2,0,3;bgm_mode\ensou_btn.bmp",43,%3802
lsp bgm_btn_stop_lsp,":a/2,0,3;bgm_mode\stop_btn.bmp",43,%3803
lsph bgm_zennkyoku_lsp,":a;bgm_mode\all_w.bmp",136,%3802
lsp bgm_btn_zennkyoku_lsp,":a/2,0,3;bgm_mode\all_btn.bmp",136,%3802
lsph bgm_ranndamu_lsp,":a;bgm_mode\rnd_w.bmp",136,%3803
lsp bgm_btn_ranndamu_lsp,":a/2,0,3;bgm_mode\rnd_btn.bmp",136,%3803
lsp bgm_rpi_lsp,":a;bgm_mode\r_1_w.bmp",271,408
lsph bgm_btn_rpi_lsp,":a/2,0,3;bgm_mode\r_1.bmp",271,408
lsph bgm_min_lsp,":a;bgm_mode\min_w.bmp",270,%3803 -1
lsp bgm_btn_min_lsp,":a/2,0,3;bgm_mode\min_btn.bmp",270,%3803 -1
;lsph bgm_demo_lsp,":a;bgm_mode\demo_w.bmp",343,%3804
;lsp bgm_btn_demo_lsp,":a/2,0,3;bgm_mode\demo_btn.bmp",343,%3804
lsph bgm_kowai_skip_lsp,":a;bgm_mode\ko_skip_w.bmp",390,%3803 -2
lsp bgm_btn_kowai_skip_lsp,":a/2,0,3;bgm_mode\ko_skip_btn.bmp",390,%3803 -2
lsph bgm_kowai_only_lsp,":a;bgm_mode\kowai_w.bmp",390,%3802
lsp bgm_btn_kowai_only_lsp,":a/2,0,3;bgm_mode\kowai_btn.bmp",390,%3802
lsp bgm_btn_title_lsp,":a/2,0,3;bgm_mode\modoru_btn.bmp",550,%3803 -1 ;タイトルに戻る
;lsp bgm_btn_next_lsp,":a/2,0,3;bgm_mode\next_btn.bmp",510,300 ;曲一覧ネクストボタン
;lsph bgm_btn_back_lsp,":a/2,0,3;bgm_mode\back_btn.bmp",15,300 ;曲一覧バックボタン
;** ボタンの設定と処理ルーチン***************************************
*bgm_mode_botann_teigi
btndef ""
notif %bgm_mood_page = 1 goto *bgm_mode_botann_teigi_100
;ボタン、表示と非表示の調整
for %tmp = 301 to 360 : vsp %tmp,1 : next
for %tmp = 361 to 450 : vsp %tmp,0 : next
; vsp bgm_btn_next_lsp,1
; vsp bgm_btn_back_lsp,0
print 22
;1ページ目 1~60曲まで表示、NEXTボタンを表示
exbtn_d "P301,0P302,0P303,0P304,0P305,0P306,0P307,0P308,0P309,0P310,0P311,0P312,0P313,0P314,0P315,0P316,0P317,0P318,0P319,0P320,0P321,0P322,0P323,0P324,0P325,0P326,0P327,0P328,0P329,0P330,0P331,0P332,0P333,0P334,0P335,0P336,0P337,0P338,0";,0P339,0P340,0P341,0P342,0P343,0P344,0P345,0P346,0P347,0P348,0P349,0P350,0P351,0P352,0P353,0P354,0P355,0P356,0P357,0P358,0P359,0P360
mov %3801,301 : mov %3802,1
exbtn %3801,%3802,"P301,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P302,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P303,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P304,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P305,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P306,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P307,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P308,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P309,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P310,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P311,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P312,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P313,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P314,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P315,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P316,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P317,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P318,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P319,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P320,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P321,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P322,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P323,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P324,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P325,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P326,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P327,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P328,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P329,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P330,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P331,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P332,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P333,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P334,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P335,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P336,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P337,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P338,1" : inc %3801 : inc %3802
exbtn %3801,%3802,"P339,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P340,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P341,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P342,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P343,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P344,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P345,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P346,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P347,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P348,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P349,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P350,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P351,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P352,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P353,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P354,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P355,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P356,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P357,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P358,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P359,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P360,1" : inc %3801 : inc %3802
; exbtn bgm_btn_next_lsp,bgm_btn_next,"P21,1"
*bgm_mode_botann_teigi_100
;notif %bgm_mood_page = 2 goto *bgm_mode_botann_teigi_200
;ボタン、表示と非表示の調整
; for %tmp = 301 to 360 : vsp %tmp,0 : next
; for %tmp = 361 to 450 : vsp %tmp,1 : next
; vsp bgm_btn_next_lsp,0
; vsp bgm_btn_back_lsp,1
; print 22
;2ページ目 61~80曲まで表示、BACKボタンを表示
; exbtn_d "P361,0P362,0P363,0P364,0P365,0P366,0P367,0P368,0P369,0P370,0P371,0P372,0P373,0";,0P374,0P375,0P376,0P377,0P378,0P379,0P380,0P381,0P382,0P383,0P384,0P385,0P386,0P387,0P388,0P389,0P390,0P391,0P392,0P393,0P394,0P395,0P396,0P397,0P398,0P399,0P400,0P401,0P402,0P403,0P404,0P405,0P406,0P407,0P408,0P409,0P410,0P411,0P412,0P413,0P414,0P415,0P416,0"
; mov %3801,361 : mov %3802,61
; exbtn %3801,%3802,"P361,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P362,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P363,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P364,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P365,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P366,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P367,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P368,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P369,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P370,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P371,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P372,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P373,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P374,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P375,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P376,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P377,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P378,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P379,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P380,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P381,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P382,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P383,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P384,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P385,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P386,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P387,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P388,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P389,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P390,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P391,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P392,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P393,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P394,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P395,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P396,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P397,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P398,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P399,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P400,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P401,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P402,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P403,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P404,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P405,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P406,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P407,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P408,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P409,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P410,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P411,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P412,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P413,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P414,1" : inc %3801 : inc %3802
; exbtn %3801,%3802,"P415,1" : inc %3801 : inc %3802