3 import java.util.Vector;
\r
4 import com.jm.db.Dao;
\r
5 import com.jm.db.DatabaseHelper;
\r
6 import com.jm.utility.JmException;
\r
8 public class PatternList {
\r
10 public static JmPattern tempPattern = null;
\r
11 // public static final String[] PACKAGE_INDEX = {
\r
23 // private boolean overwrited;
\r
24 // private boolean registerable;
\r
25 // private Vector patterns;
\r
26 // private List patternList;
\r
27 private Vector<JmPattern> patterns;
\r
31 public PatternList() {
\r
35 public void create() throws JmException {
\r
38 DatabaseHelper helper = DatabaseHelper.getInstance();
\r
39 switch (helper.getLangId()){
\r
40 case DatabaseHelper.JAPANEASE_ID:
\r
55 public void update() throws JmException {
\r
57 int count = count(type);
\r
60 DatabaseHelper helper = DatabaseHelper.getInstance();
\r
61 switch (helper.getLangId()){
\r
62 case DatabaseHelper.JAPANEASE_ID:
\r
73 public PatternList(Runnable parent, int index) throws JmException {
\r
76 SiteSwap.clearCashe();
\r
78 // this.overwrited = false;
\r
79 // this.registerable = false;
\r
81 this.patterns = new Vector<JmPattern>();
\r
83 // this.patternList = new List(PACKAGE_INDEX[index], List.IMPLICIT,
\r
84 // new String[]{Resource.MSG_NOTHING}, null);
\r
87 case 0 : setPackage00(); break;
\r
88 case 1 : setPackage01(); break;
\r
89 case 2 : setPackage02(); break;
\r
90 case 3 : setPackage03(); break;
\r
91 case 4 : setPackage04(); break;
\r
92 case 5 : setPackage05(); break;
\r
96 // this.registerable = true;
\r
97 // patternList.addCommand(Resource.CMD_MAKE);
\r
98 // patternList.addCommand(Resource.CMD_DELETE);
\r
99 // patternList.addCommand(Resource.CMD_PASTE);
\r
104 // patternList.addCommand(Resource.CMD_PARAM);
\r
105 // patternList.addCommand(Resource.CMD_COPY);
\r
106 // setDisplayable(patternList);
\r
112 // public void run() {
\r
113 // if (!patterns.isEmpty()) {
\r
114 // int index = patternList.getSelectedIndex();
\r
116 // patternList.set(index, get(index).getName(), null);
\r
123 // public void commandAction(Command c, Displayable d) {
\r
124 // int index = patternList.getSelectedIndex();
\r
126 // if (c == List.SELECT_COMMAND) {
\r
127 // if (!patterns.isEmpty())
\r
128 // new JugglerViewer(this, get(index)).run();
\r
129 // } else if (c == Resource.CMD_PARAM) {
\r
130 // if (!patterns.isEmpty()) {
\r
131 // new JmParameters(this, get(index), false).run();
\r
132 // overwrited = true;
\r
134 // } else if (c == Resource.CMD_MAKE) {
\r
135 // new JmParameters(this, new JmPattern("", "3"), true).run();
\r
136 // } else if (c == Resource.CMD_DELETE) {
\r
138 // } else if (c == Resource.CMD_COPY) {
\r
139 // if (!patterns.isEmpty())
\r
140 // tempPattern = get(index);
\r
141 // } else if (c == Resource.CMD_PASTE) {
\r
142 // if (tempPattern != null)
\r
143 // insert(new JmPattern(tempPattern));
\r
145 // if (c == BaseDisplay.CMD_BACK && registerable && overwrited)
\r
146 // storePatterns();
\r
147 // super.commandAction(c, d);
\r
153 // public boolean insert(JmPattern jp) {
\r
154 // if (jp.getSiteSwap() == null) return false;
\r
155 // int index = patternList.getSelectedIndex();
\r
156 // if (patterns.isEmpty()) patternList.delete(0);
\r
157 // patternList.insert(index, jp.getName(), null);
\r
158 // patterns.insertElementAt(jp, index);
\r
159 // overwrited = true;
\r
165 // private JmPattern get(int index) {
\r
166 public JmPattern get(int index) {
\r
167 // private JmPattern get(int index) {
\r
169 return (JmPattern)patterns.elementAt(index);
\r
174 return patterns.size();
\r
177 private void add(JmPattern jp) throws JmException {
\r
178 if (jp.getSiteSwap() == null) return;
\r
180 // if (patterns.isEmpty()) patternList.delete(0);
\r
181 // patternList.append(jp.getName(), null);
\r
183 // patterns.addElement(jp);
\r
184 Dao.getInstance().add(jp);
\r
188 private int count(int type) throws JmException {
\r
189 return Dao.getInstance().count(type);
\r
193 // private boolean delete(int index) {
\r
194 // if (patterns.isEmpty()) return false;
\r
195 // patternList.delete(index);
\r
196 // patterns.removeElementAt(index);
\r
197 // if (patterns.isEmpty())
\r
198 // patternList.append(Resource.MSG_NOTHING, null);
\r
199 // overwrited = true;
\r
204 /*********************************************************************
\r
205 可能ならば保存した設定を読み込みます。
\r
206 *********************************************************************/
\r
208 // private void loadPatterns() {
\r
210 // RecordStore store = RecordStore.openRecordStore(Resource.JMME_RECORD_NAME, false);
\r
211 // int num = (int)store.getRecord(2)[0] & 0xff;
\r
212 // for (int i = 0; i < num; i++)
\r
213 // add(new JmPattern(store.getRecord(i+3)));
\r
214 // store.closeRecordStore();
\r
215 // } catch (RecordStoreException ex) {
\r
220 /*********************************************************************
\r
222 *********************************************************************/
\r
224 // private boolean storePatterns() {
\r
226 // RecordStore store = RecordStore.openRecordStore(Resource.JMME_RECORD_NAME, true);
\r
227 // byte[] b_num = new byte[1];
\r
228 // b_num[0] = (byte)(patterns.size() & 0xff);
\r
230 // store.setRecord(2, b_num, 0, 1);
\r
231 // } catch (RecordStoreException ex) {
\r
232 // store.addRecord(b_num, 0, 1);
\r
235 // for (Enumeration en = patterns.elements(); en.hasMoreElements(); num++) {
\r
236 // byte[] bytes = ((JmPattern)en.nextElement()).getBytes();
\r
238 // store.setRecord(num+3, bytes, 0, bytes.length);
\r
239 // } catch (RecordStoreException ex) {
\r
240 // store.addRecord(bytes, 0, bytes.length);
\r
243 // b_num[0] = (byte)(num & 0xff);
\r
244 // store.setRecord(2, b_num, 0, 1);
\r
245 // store.closeRecordStore();
\r
246 // } catch (RecordStoreException ex) {
\r
253 public static final byte[] n = JmPattern.NORMAL;
\r
254 public static final byte[] r = JmPattern.reverse(n);
\r
255 public static final byte[] a = {0,0,0,0};
\r
256 public static final byte[] b = {10,0,10,0};
\r
257 public static final byte[] c = {12,0,12,0};
\r
258 public static final byte[] d = {6,0,6,0};
\r
259 public static final byte[] e = {5,0,5,0};
\r
260 public static final byte[] f = {4,0,4,0};
\r
261 public static final byte[] g = {13,0,13,0};
\r
262 public static final byte[] h = {10,0,3,0};
\r
263 public static final byte[] k = {-1,0,-12,0};
\r
264 public static final byte[] o = {7,0,7,0};
\r
266 public static final byte[][] reverse = new byte[][] {r};
\r
267 public static final byte[][] center = new byte[][] {{13,0,0,0}};
\r
268 public static final byte[][] shower = new byte[][] {{5,0,10,0},{10,0,5,0}};
\r
269 public static final byte[][] millsmess = new byte[][] {k,{0,0,12,0},{1,0,-12,0}};
\r
270 public static final byte[][] columns = new byte[][] {c,f,f,c};
\r
272 public void setPackage00() throws JmException {
\r
276 add(new JmPattern(type, "カスケード", "3"));
\r
277 add(new JmPattern(type, "フラッシュ", "333355500", 30, 50));
\r
278 add(new JmPattern(type, "テニス", "3", new byte[][] {{8,0,4,0},{8,0,4,0},{14,3,14,3}}));
\r
279 add(new JmPattern(type, "ハーフシャワー", "3", new byte[][] {{8,0,15,8},{15,8,8,0}}));
\r
280 add(new JmPattern(type, "リバースカスケード", "3", reverse));
\r
281 add(new JmPattern(type, "ウインドミル", "3", new byte[][] {{10,0,-10,-2},{-10,4,10,2}}));
\r
282 add(new JmPattern(type, "リーチオーバー", "3", 15, 50, new byte[][] {n,n,n,g,n,{10,0,8,-2},{-13,5,0,2},{13,-3,4,0}}));
\r
283 add(new JmPattern(type, "リーチアンダー", "3", 15, 50, new byte[][] {n,n,n,g,{13,0,4,-3},{10,4,4,4},{-16,-3,0,0},{13,3,4,0}}));
\r
284 add(new JmPattern(type, "オーバーザヘッド", "3", new byte[][] {{12,19,3,19}}));
\r
285 add(new JmPattern(type, "チョップ", "(2,4x)(4x,2)", 12, 50, new byte[][] {{4,9,-10,-3},{10,6,7,9},{10,6,7,9},{4,9,-10,-3}}));
\r
286 add(new JmPattern(type, "リンゴ食べちゃえ", "33333423", new byte[][] {{0,6,-3,4},n,n,n,n,{13,0,2,0},{12,7,0,7},{13,0,-4,0}}));
\r
287 add(new JmPattern(type, "1アップ2アップ", "(0,4)(4,4)", 14, 50, new byte[][] {a,b,b,b}));
\r
288 add(new JmPattern(type, "ヨーヨー", "(4,2)", 13, 50, new byte[][] {{5,2,5,3},{-5,-1,-5,0},{5,13,5,13},{5,-1,5,0}}));
\r
289 add(new JmPattern(type, "オイオイ", "(4,2)", 13, 50, new byte[][] {{5,-1,5,0},{-5,3,-5,4},{5,10,5,10},{5,3,5,4}}));
\r
290 add(new JmPattern(type, "アーチ", "3", 13, 50, new byte[][] {{20,10,20,10},b,{15,5,15,5},{20,10,20,10},b,{15,5,15,5}}));
\r
291 add(new JmPattern(type, "自由の女神", "3", 12, 50, new byte[][] {{3,0,12,4},{10,20,9,19}}));
\r
292 add(new JmPattern(type, "シャッフル", "(4x,2x)", 12, 50, new byte[][] {{0,-5,12,10},{10,0,14,0}}));
\r
293 add(new JmPattern(type, "ルークスシャッフル", "(4,2x)(2x,4)", 15, 50, new byte[][] {{10,0,14,10},{10,-3,6,0},{10,-3,6,0},{10,0,14,10}}));
\r
294 add(new JmPattern(type, "ロボット", "242334", 15, 50, new byte[][] {{5,4,10,-3},b,{10,-3,10,13},a,{10,13,-10,13},d}));
\r
295 add(new JmPattern(type, "キャリー", "3", 10, 50, new byte[][] {{7,12,-7,12},{7,0,-7,0}}));
\r
296 add(new JmPattern(type, "シャワー", "51", 10, 50, shower));
\r
297 add(new JmPattern(type, "日本のお手玉", "51"));
\r
298 add(new JmPattern(type, "ボックス", "(2x,4)(4,2x)", 12, 50, new byte[][] {b,{10,0,2,0},{10,0,2,0},b}));
\r
299 add(new JmPattern(type, "ウィーブ", "(2,4)(2,4x)(4,2)(4x,2)", 10, 50, new byte[][] {{10,1,-7,0},{12,0,12,9},e,{-5,9,0,3},{12,0,12,9},{10,1,-7,0},{-5,9,0,3},e}));
\r
300 add(new JmPattern(type, "フォロー", "423", 10, 50, new byte[][] {{-10,10,-10,4},{10,-3,10,10},{0,4,0,2}}));
\r
301 add(new JmPattern(type, "ボストンメス A", "3", new byte[][] {{10,-2,10,-2},{10,3,10,3},{0,-2,0,-2},{-10,3,-10,3},{-10,-2,-10,-2},{0,3,0,3}}));
\r
302 add(new JmPattern(type, "ボストンメス B", "3", new byte[][] {{10,3,10,-2},{10,3,10,3},{0,-2,0,-2},{-10,3,-10,3},{-10,-2,-10,-2},{0,3,0,3},{10,-2,10,3},{10,-2,10,-2},{0,3,0,3},{-10,-2,-10,-2},{-10,3,-10,3},{0,-2,0,-2}}));
\r
303 add(new JmPattern(type, "ミルズメス", "3", 13, 50, millsmess));
\r
304 add(new JmPattern(type, "リバースミルズメス", "3", 13, 50, new byte[][] {{-12,0,-1,0},{12,0,0,0},{-12,0,1,0}}));
\r
305 add(new JmPattern(type, "バークスバラージ", "423", 10, 50, new byte[][] {{12,12,-6,-2},{-6,5,-6,12},{0,5,0,5}}));
\r
306 add(new JmPattern(type, "ルーベンシュタインズリベンジ", "35223", 15, 50, new byte[][] {{3,1,13,8},{7,-2,-10,-3},{3,6,-12,2},{-1,0,12,2},{-2,2,-10,-2}}));
\r
307 add(new JmPattern(type, "片手3個", "60"));
\r
308 add(new JmPattern(type, "片手カスケード", "60", new byte[][] {{-6,0,2,0},g,{18,0,10,0},g}));
\r
309 add(new JmPattern(type, "片手3個のマルチ", "[46]06020"));
\r
310 add(new JmPattern(type, "8040"));
\r
314 public void setPackage01() throws JmException {
\r
318 add(new JmPattern(type, "531"));
\r
319 add(new JmPattern(type, "450"));
\r
320 add(new JmPattern(type, "5241"));
\r
321 add(new JmPattern(type, "51414"));
\r
322 add(new JmPattern(type, "72312"));
\r
323 add(new JmPattern(type, "ワイドカスケード", "3", 12, 50, new byte[][] {{21,9,18,4}}));
\r
324 add(new JmPattern(type, "ワイドリバースカスケード", "3", new byte[][] {{-8,0,12,0}}));
\r
325 add(new JmPattern(type, "リーチオーバー連続", "3", 15, 50, new byte[][] {{10,0,3,-2},{-13,5,13,0},{13,-3,4,0}}));
\r
326 add(new JmPattern(type, "リーチアンダー連続", "3", 15, 50, new byte[][] {{10,4,3,4},{-13,-5,13,0},{13,3,4,0}}));
\r
327 add(new JmPattern(type, "クロス アーム", "3", new byte[][] {{-4,0,-12,0}}));
\r
328 add(new JmPattern(type, "リンゴ食べ放題", "(2,4x)(4x,2)", 12, 50, new byte[][] {{0,7,-3,-3},{12,10,0,8},{12,10,0,8},{0,7,-3,-3}}));
\r
330 add(new JmPattern(type, "1アップ2アップ B", "(4,4)(0,4x)(4,4)(4x,0)", 14, 50, new byte[][] {o,o,{14,0,0,0},o,o,o,o,{14,0,0,0}}));
\r
331 add(new JmPattern(type, "1アップ2アップ C", "(4,4)(0,4x)(4,4)(4,0)(4,4)(4x,0)(4,4)(0,4)", 14, 50, new byte[][] {o,o,{14,0,14,0},o,o,o,o,a,o,o,o,{14,0,14,0},o,o,a,o}));
\r
332 add(new JmPattern(type, "1アップ2アップ D", "(4,4)(0,4x)(4,4)(4x,0)", 14, 50, new byte[][] {{12,0,-6,0},{-6,0,12,0},a,d,{-6,0,12,0},{12,0,-6,0},d,a}));
\r
333 add(new JmPattern(type, "1アップ2アップ E", "(4,4)(0,4)", 14, 50, new byte[][] {f,f,{13,0,-13,0},f}));
\r
334 add(new JmPattern(type, "1アップ2アップ F", "(6,6)(0,2x)(4x,0)", 10, 50, new byte[][] {f,f,{13,7,4,0},f,f,{4,0,13,7}}));
\r
336 byte[] fake1 = {10,-1,10,0};
\r
337 byte[] fake2 = {0,-1,0,0};
\r
338 byte[] fake3 = {10,10,10,10};
\r
339 add(new JmPattern(type, "フェイク A", "(2,4)", 14, 50, new byte[][] {fake1,fake1,fake2,fake3}));
\r
340 add(new JmPattern(type, "フェイク B", "(2,4)", 14, 50, new byte[][] {fake2,fake1,fake1,fake3}));
\r
341 add(new JmPattern(type, "フェイク C", "(4,2)(4x,2)(2,4)(2,4x)", 13, 50, new byte[][] {fake1,fake1,fake3,fake2,fake1,fake1,fake2,fake3}));
\r
342 add(new JmPattern(type, "ヨーヨーを一周", "(4,2)", 13, 50, new byte[][] {{0,2,0,3},fake2,{0,13,0,13},{10,-1,-10,-1}}));
\r
343 add(new JmPattern(type, "ヨーヨー(トルネード)", "(2,4)", new byte[][] {e,{15,15,-15,14},{-5,0,-5,0},{15,14,-15,15}}));
\r
344 add(new JmPattern(type, "ヨーヨー(横断)", "(2,4)", new byte[][] {e,{15,12,0,12},{-5,0,-5,0},{-15,12,0,12}}));
\r
345 add(new JmPattern(type, "(4x,2x)(2,4)"));
\r
346 add(new JmPattern(type, "(4x,6)(0,2x)"));
\r
347 add(new JmPattern(type, "テニス B", "(2,4)(2,4x)(4,2)(4x,2)", 14, 50, new byte[][] {e,e,{15,3,15,3},e,e,e,e,{15,3,15,3}}));
\r
348 add(new JmPattern(type, "自由の女神 B", "3", 14, 50, new byte[][] {{3,4,12,0},{10,17,9,19}}));
\r
349 add(new JmPattern(type, "441", 13, 50));
\r
350 add(new JmPattern(type, "441 外回り", "441", 13, 50, new byte[][] {r,r,{4,0,0,0}}));
\r
351 add(new JmPattern(type, "441 シャッフル", "441", 10, 50, new byte[][] {{5,-2,5,-2},d,{15,4,9,10}}));
\r
352 add(new JmPattern(type, "ボスサイドスラム", "(4x,2x)(2,4x)(2x,4x)(4x,2)", 10, 50, new byte[][] {{6,0,12,10},b,{10,0,4,0},d,b,{6,0,12,10},d,{10,0,4,0}}));
\r
353 add(new JmPattern(type, "イクスチェンジ", "2334", 13, 50, new byte[][] {{0,11,10,11},{10,0,0,0},{0,12,-10,12},{10,0,0,0}}));
\r
355 byte[] eb = {3,0,10,0};
\r
356 add(new JmPattern(type, "ハーフシャワー B", "5223", shower));
\r
357 add(new JmPattern(type, "腕の下シャワー", "(2x,4x)", new byte[][] {{5,0,-10,0},{3,4,-3,4}}));
\r
358 add(new JmPattern(type, "腕の下シャワー(交互)", "(2x,4x)", new byte[][] {eb,{5,4,0,4},{3,0,-10,0},{5,4,0,4}}));
\r
359 add(new JmPattern(type, "シンクロシャワー", "(2x,4x)", shower));
\r
360 add(new JmPattern(type, "ハイローシャワー A", "7131", shower));
\r
361 add(new JmPattern(type, "ハイローシャワー B", "(2x,6x)(2x,2x)", 15, 50, new byte[][] {{6,0,12,3},{6,3,6,0},{6,0,6,3},{12,3,6,0}}));
\r
362 add(new JmPattern(type, "ハイローシャワー C", "315171", shower));
\r
363 add(new JmPattern(type, "ハーフメス", "3", 13, 50, new byte[][] {c,{0,0,-12,-3},{0,2,-12,2},{0,-3,-6,0}}));
\r
364 add(new JmPattern(type, "ミルズメス 423", "423", millsmess));
\r
365 add(new JmPattern(type, "ミルズメス 414", "414", millsmess));
\r
366 add(new JmPattern(type, "ミルズメス 315", "315", millsmess));
\r
367 add(new JmPattern(type, "ミルズメス 44133", "44133", 13, 50, new byte[][] {{-2,0,-12,5},{2,-2,12,0},{0,2,-3,0},{10,0,10,2},{7,-2,-10,-3}}));
\r
368 add(new JmPattern(type, "ミルズメス ボックス", "612", millsmess));
\r
369 add(new JmPattern(type, "ボックスもどき A", "126", 15, 50));
\r
370 add(new JmPattern(type, "ボックスもどき B", "630", 15, 50));
\r
371 add(new JmPattern(type, "ダブルボックス", "(4x,2x)(4,2x)(2x,4x)(2x,4)", 11, 50, new byte[][] {{14,0,7,0},a,{14,0,0,0},{0,0,14,0},a,{14,0,7,0},{0,0,14,0},{14,0,0,0}}));
\r
372 add(new JmPattern(type, "拡張ボックス", "(2x,8)(2x,4)(0,2x)(8,2x)(4,2x)(2x,0)", new byte[][] {eb,h,eb,h,h,eb,h,eb,h,eb,eb,h}));
\r
375 public void setPackage02() throws JmException {
\r
379 add(new JmPattern(type, "ファウンテン", "4"));
\r
380 add(new JmPattern(type, "シンクロファウンテン", "(4,4)"));
\r
381 add(new JmPattern(type, "リバースファウンテン", "4", reverse));
\r
382 add(new JmPattern(type, "リバースシンクロファウンテン", "(4,4)", reverse));
\r
383 add(new JmPattern(type, "4コラムス スイッチ", "(4x,4x)(4,4)", new byte[][] {{12,0,12,2},{12,2,12,0},f,f}));
\r
384 add(new JmPattern(type, "4コラムス ピストン", "4", columns));
\r
385 add(new JmPattern(type, "4コラムス シンクロ(非対称)", "(4,4)", columns));
\r
386 add(new JmPattern(type, "4コラムス シンクロ(対称)", "(4,4)", new byte[][] {c,c,f,f}));
\r
387 add(new JmPattern(type, "4コラムス シンクロ(Splits)", "(4,4)", new byte[][] {c,{-4,0,-4,0},{-4,0,-4,0},c}));
\r
388 byte[] cross1 = {13,0,7,3};
\r
389 byte[] cross2 = {13,3,7,0};
\r
390 add(new JmPattern(type, "4クロス A", "(4x,4x)", new byte[][] {cross1,cross2}));
\r
391 add(new JmPattern(type, "4クロス B", "(4x,4x)", new byte[][] {cross1,cross2,cross2,cross1}));
\r
392 add(new JmPattern(type, "4テニス", "44453", new byte[][] {{9,0,4,0},{9,0,4,0},{0,0,4,0},{15,3,15,3},{9,0,4,0}}));
\r
393 add(new JmPattern(type, "444447333", 30, 50));
\r
394 add(new JmPattern(type, "53"));
\r
395 add(new JmPattern(type, "561"));
\r
396 add(new JmPattern(type, "453"));
\r
397 add(new JmPattern(type, "741"));
\r
398 add(new JmPattern(type, "6424"));
\r
399 add(new JmPattern(type, "61616"));
\r
400 add(new JmPattern(type, "7161616"));
\r
401 add(new JmPattern(type, "7272712"));
\r
402 add(new JmPattern(type, "(2x,6x)(6x,2x)"));
\r
403 add(new JmPattern(type, "(2,6x)(2x,6)(6x,2)(6,2x)"));
\r
404 add(new JmPattern(type, "(2,4)([44x],2x)"));
\r
406 add(new JmPattern(type, "4ハーフシャワー", "53", shower));
\r
407 add(new JmPattern(type, "4シャワー", "71", shower));
\r
408 add(new JmPattern(type, "4シンクロシャワー", "(2x,6x)", shower));
\r
409 add(new JmPattern(type, "4ハイローシャワー", "9151", shower));
\r
411 add(new JmPattern(type, "4ボックス", "(2x,8)(2x,4)(8,2x)(4,2x)", new byte[][] {b,h,b,h,h,b,h,b}));
\r
412 add(new JmPattern(type, "4ボックスもどき A", "633", new byte[][] {b,{7,0,0,0},{7,0,0,0}}));
\r
413 add(new JmPattern(type, "4ボックスもどき B", "(2x,6)(2x,6)(6,2x)(6,2x)"));
\r
415 add(new JmPattern(type, "4ミルズメス", "4", millsmess));
\r
416 add(new JmPattern(type, "4ミルズメス 534", "534", millsmess));
\r
417 add(new JmPattern(type, "4ミルズメス 552", "552", millsmess));
\r
418 add(new JmPattern(type, "4ミルズメス 642", "642", millsmess));
\r
419 add(new JmPattern(type, "4バークスバラージ", "525", 12, 50, new byte[][] {{14,14,-5,-2},{-9,3,-9,14},{0,0,3,0}}));
\r
421 add(new JmPattern(type, "4マルチ [34]1", "[34]1"));
\r
422 add(new JmPattern(type, "4マルチ 4[43]1", "4[43]1"));
\r
423 add(new JmPattern(type, "4マルチ ミルズメス", "[34]23", millsmess));
\r
424 add(new JmPattern(type, "ダンシーズデビルメント", "3[53]22[32]", 15, 50, new byte[][] {{3,1,13,8},{7,-2,-10,-3},{3,6,-12,2},{-1,0,12,2},{-2,2,-10,-2}}));
\r
427 public void setPackage03() throws JmException {
\r
431 add(new JmPattern(type, "5カスケード", "5"));
\r
432 add(new JmPattern(type, "5リバースカスケード", "5", reverse));
\r
433 add(new JmPattern(type, "555555744", 30, 50));
\r
434 add(new JmPattern(type, "右3個 左2個", "64"));
\r
435 add(new JmPattern(type, "744"));
\r
436 add(new JmPattern(type, "753"));
\r
437 add(new JmPattern(type, "66661"));
\r
438 add(new JmPattern(type, "88333"));
\r
439 add(new JmPattern(type, "75751"));
\r
440 add(new JmPattern(type, "123456789", center));
\r
442 add(new JmPattern(type, "5ハーフシャワー A", "5", new byte[][] {{8,0,15,8},{15,8,8,0}}));
\r
443 add(new JmPattern(type, "5ハーフシャワー B", "73", shower));
\r
444 add(new JmPattern(type, "5ハーフシャワー C", "(4x,6x)", shower));
\r
445 add(new JmPattern(type, "5シャワー", "91", shower));
\r
446 add(new JmPattern(type, "5マルチシャワー", "[97]121", shower));
\r
447 add(new JmPattern(type, "5ボックス", "(4x,6)(6,4x)"));
\r
449 add(new JmPattern(type, "5ミルズメス", "5", millsmess));
\r
450 add(new JmPattern(type, "5バークスバラージ", "726", 12, 50, new byte[][] {{16,14,-3,-4},{-9,0,-10,14},{2,-2,4,0}}));
\r
451 add(new JmPattern(type, "5コラムス", "(6,6)(6,6)(0,6)", new byte[][] {c,c,d,d,a,d}));
\r
452 add(new JmPattern(type, "5ミルズメス コラムス A", "5", new byte[][] {{-12,0,-12,0},{-6,0,-6,0},a,d,c,c,d,a,{-6,0,-6,0},{-12,0,-12,0}}));
\r
453 add(new JmPattern(type, "5ミルズメス コラムス B", "5", new byte[][] {c,d,d,c,a,{-12,0,-12,0},{-6,0,-6,0},{-6,0,-6,0},{-12,0,-12,0},a}));
\r
454 add(new JmPattern(type, "5ミルズメス コラムス C", "5", new byte[][] {{12,3,12,3},{-6,0,-6,0},{0,3,0,3},d,{-12,3,-12,3},{-12,0,-12,0},{6,3,6,3},a,{-6,3,-6,3},c}));
\r
455 add(new JmPattern(type, "5マルチ コラムス", "([46],[46])(0,6)(2,2)", new byte[][] {g,g,a,g,g,g}));
\r
457 add(new JmPattern(type, "Martin", "[62]25", new byte[][] {g,n,n}));
\r
458 add(new JmPattern(type, "25[75]51"));
\r
459 add(new JmPattern(type, "(2,[62])([22],6x)([62],2)(6x,[22])"));
\r
460 add(new JmPattern(type, "5マルチ A", "[54][22]2"));
\r
461 add(new JmPattern(type, "5マルチ B", "24[54]"));
\r
464 public void setPackage04() throws JmException {
\r
468 add(new JmPattern(type, "6ファウンテン", "6"));
\r
469 add(new JmPattern(type, "6シンクロファウンテン", "(6,6)"));
\r
470 add(new JmPattern(type, "7カスケード", "7"));
\r
471 add(new JmPattern(type, "8ファウンテン", "8"));
\r
472 add(new JmPattern(type, "9カスケード", "9"));
\r
474 add(new JmPattern(type, "6ハーフシャワー", "75", shower));
\r
475 add(new JmPattern(type, "6シャワー", "b1", shower));
\r
476 add(new JmPattern(type, "7シャワー", "d1", shower));
\r
478 add(new JmPattern(type, "6コラムス", "(6,6)",
\r
479 new byte[][] {{15,0,15,0},{15,0,15,0},{9,0,9,0},{9,0,9,0},{3,0,3,0},{3,0,3,0}}));
\r
480 add(new JmPattern(type, "6ミルズメス", "6", millsmess));
\r
481 add(new JmPattern(type, "6ミルズメス 864", "864", millsmess));
\r
483 add(new JmPattern(type, "7スプリット A", "[456][22]2"));
\r
484 add(new JmPattern(type, "7スプリット B", "([66x],2)(2,[66x])", center));
\r
485 add(new JmPattern(type, "26[76]"));
\r
486 add(new JmPattern(type, "[234]57"));
\r
488 add(new JmPattern(type, "9マルチ", "[54]"));
\r
489 add(new JmPattern(type, "35カスケード", "z"));
\r
490 add(new JmPattern(type, "18シャワー", "z1", shower));
\r
491 add(new JmPattern(type, "35マルチ シャワー", "[9bdfh][11111]", shower));
\r
492 add(new JmPattern(type, "12ミルズメス 333666999cccfffiiilll", "333666999cccfffiiilll", millsmess));
\r
493 add(new JmPattern(type, "[b9753]0020[22]0[222]0[2222]0"));
\r
494 add(new JmPattern(type, "123456789abcdefghijklmnopqrstuvwxyz", center));
\r
496 byte[] box1 = {13,0,3,0};
\r
497 byte[] box2 = JmPattern.reverse(box1);
\r
498 add(new JmPattern(type, "9ボックス", "u1q1m1i1e1a1612",
\r
499 new byte[][] {g,box1,box2,box1,box2,box1,box2,box1,box2,box1,box2,box1,box2,box1,g}));
\r
500 add(new JmPattern(type, "trpnljhfdb97531"));
\r
501 add(new JmPattern(type, "Ken", "ken"));
\r
502 add(new JmPattern(type, "ペンタマルチ", "[56789]"));
\r
503 add(new JmPattern(type, "20コラムス A", "(k,k)", 10, 50,
\r
504 new byte[][] {{29,3,29,3},{2,3,2,3},{26,3,26,3},{5,3,5,3},{23,3,23,3},{8,3,8,3},{20,3,20,3},{11,3,11,3},{17,3,17,3},{14,3,14,3},{14,3,14,3},{17,3,17,3},{11,3,11,3},{20,3,20,3},{8,3,8,3},{23,3,23,3},{5,3,5,3},{26,3,26,3},{2,3,2,3},{29,3,29,3}}));
\r
505 add(new JmPattern(type, "20コラムス B", "k", 10, 50,
\r
506 new byte[][] {{20,3,20,3},{18,3,18,3},{16,3,16,3},{14,3,14,3},{12,3,12,3},{10,3,10,3},{8,3,8,3},{6,3,6,3},{4,3,4,3},{2,3,2,3},{2,3,2,3},{4,3,4,3},{6,3,6,3},{8,3,8,3},{10,3,10,3},{12,3,12,3},{14,3,14,3},{16,3,16,3},{18,3,18,3},{20,3,20,3}}));
\r
509 public void setPackage05() throws JmException {
\r
513 add(new JmPattern(type, "1個の投げ方", "300"));
\r
514 add(new JmPattern(type, "2個の投げ方", "33022"));
\r
515 add(new JmPattern(type, "2個の連続", "330"));
\r
516 add(new JmPattern(type, "3個の練習 まず3回投げよう", "[32]3322"));
\r
517 add(new JmPattern(type, "3個の練習 3スローカスケード", "3", 20, 75));
\r
518 add(new JmPattern(type, "4個の練習 片手", "40"));
\r
519 add(new JmPattern(type, "4個の練習 片手コラムス", "40", new byte[][] {a,g,b,g}));
\r
520 add(new JmPattern(type, "5個の練習 2個", "50500"));
\r
521 add(new JmPattern(type, "5個の練習 3チェイス", "50505"));
\r
522 add(new JmPattern(type, "5個の練習 3フラッシュ", "55500"));
\r
523 add(new JmPattern(type, "5個の練習 3個", "52512"));
\r
524 add(new JmPattern(type, "5個の練習 4フラッシュ", "[52][52]55022[22][22]"));
\r
525 add(new JmPattern(type, "5個の練習 ギャップ A", "55550"));
\r
526 add(new JmPattern(type, "5個の練習 ギャップ B", "552"));
\r
527 add(new JmPattern(type, "5個の練習 4個", "5551"));
\r
528 add(new JmPattern(type, "5フラッシュ", "[522][52][52]5522[22][22]"));
\r
529 add(new JmPattern(type, "3 -> 5カスケード", "[32][32][32][32][32][32][52][52][52]555555522"));
\r
531 add(new JmPattern(type, "3ボックスの練習", "(2x,4)(0,2x)", 12, 50, new byte[][] {b,{10,0,2,0},{10,0,2,0},b}));
\r
532 add(new JmPattern(type, "3ミルズメスの練習", "330", 13, 50, millsmess));
\r
535 public void setPackage06() throws JmException {
\r
537 add(new JmPattern(type, "[新規作成]", "1"));
\r
540 public void setPackage00En() throws JmException {
\r
542 add(new JmPattern(type, "Cascade", "3"));
\r
543 add(new JmPattern(type, "フラッシュ", "333355500", 30, 50));
\r
544 add(new JmPattern(type, "テニス", "3", new byte[][] { { 8, 0, 4, 0 },
\r
545 { 8, 0, 4, 0 }, { 14, 3, 14, 3 } }));
\r
546 add(new JmPattern(type, "ハーフシャワー", "3", new byte[][] { { 8, 0, 15, 8 },
\r
547 { 15, 8, 8, 0 } }));
\r
548 add(new JmPattern(type, "リバースカスケード", "3", reverse));
\r
549 add(new JmPattern(type, "ウインドミル", "3", new byte[][] {
\r
550 { 10, 0, -10, -2 }, { -10, 4, 10, 2 } }));
\r
551 add(new JmPattern(type, "リーチオーバー", "3", 15, 50, new byte[][] { n, n, n,
\r
552 g, n, { 10, 0, 8, -2 }, { -13, 5, 0, 2 }, { 13, -3, 4, 0 } }));
\r
553 add(new JmPattern(type, "リーチアンダー", "3", 15, 50, new byte[][] { n, n, n,
\r
554 g, { 13, 0, 4, -3 }, { 10, 4, 4, 4 }, { -16, -3, 0, 0 },
\r
555 { 13, 3, 4, 0 } }));
\r
556 add(new JmPattern(type, "オーバーザヘッド", "3",
\r
557 new byte[][] { { 12, 19, 3, 19 } }));
\r
558 add(new JmPattern(type, "チョップ", "(2,4x)(4x,2)", 12, 50, new byte[][] {
\r
559 { 4, 9, -10, -3 }, { 10, 6, 7, 9 }, { 10, 6, 7, 9 },
\r
560 { 4, 9, -10, -3 } }));
\r
561 add(new JmPattern(type, "リンゴ食べちゃえ", "33333423", new byte[][] {
\r
562 { 0, 6, -3, 4 }, n, n, n, n, { 13, 0, 2, 0 }, { 12, 7, 0, 7 },
\r
563 { 13, 0, -4, 0 } }));
\r
564 add(new JmPattern(type, "1アップ2アップ", "(0,4)(4,4)", 14, 50, new byte[][] {
\r
566 add(new JmPattern(type, "ヨーヨー", "(4,2)", 13, 50, new byte[][] {
\r
567 { 5, 2, 5, 3 }, { -5, -1, -5, 0 }, { 5, 13, 5, 13 },
\r
568 { 5, -1, 5, 0 } }));
\r
569 add(new JmPattern(type, "オイオイ", "(4,2)", 13, 50, new byte[][] {
\r
570 { 5, -1, 5, 0 }, { -5, 3, -5, 4 }, { 5, 10, 5, 10 },
\r
571 { 5, 3, 5, 4 } }));
\r
572 add(new JmPattern(type, "アーチ", "3", 13, 50, new byte[][] {
\r
573 { 20, 10, 20, 10 }, b, { 15, 5, 15, 5 }, { 20, 10, 20, 10 }, b,
\r
574 { 15, 5, 15, 5 } }));
\r
575 add(new JmPattern(type, "自由の女神", "3", 12, 50, new byte[][] {
\r
576 { 3, 0, 12, 4 }, { 10, 20, 9, 19 } }));
\r
577 add(new JmPattern(type, "シャッフル", "(4x,2x)", 12, 50, new byte[][] {
\r
578 { 0, -5, 12, 10 }, { 10, 0, 14, 0 } }));
\r
579 add(new JmPattern(type, "ルークスシャッフル", "(4,2x)(2x,4)", 15, 50,
\r
580 new byte[][] { { 10, 0, 14, 10 }, { 10, -3, 6, 0 },
\r
581 { 10, -3, 6, 0 }, { 10, 0, 14, 10 } }));
\r
582 add(new JmPattern(type, "ロボット", "242334", 15, 50, new byte[][] {
\r
583 { 5, 4, 10, -3 }, b, { 10, -3, 10, 13 }, a,
\r
584 { 10, 13, -10, 13 }, d }));
\r
585 add(new JmPattern(type, "キャリー", "3", 10, 50, new byte[][] {
\r
586 { 7, 12, -7, 12 }, { 7, 0, -7, 0 } }));
\r
587 add(new JmPattern(type, "シャワー", "51", 10, 50, shower));
\r
588 add(new JmPattern(type, "日本のお手玉", "51"));
\r
589 add(new JmPattern(type, "ボックス", "(2x,4)(4,2x)", 12, 50, new byte[][] {
\r
590 b, { 10, 0, 2, 0 }, { 10, 0, 2, 0 }, b }));
\r
591 add(new JmPattern(type, "ウィーブ", "(2,4)(2,4x)(4,2)(4x,2)", 10, 50,
\r
592 new byte[][] { { 10, 1, -7, 0 }, { 12, 0, 12, 9 }, e,
\r
593 { -5, 9, 0, 3 }, { 12, 0, 12, 9 }, { 10, 1, -7, 0 },
\r
594 { -5, 9, 0, 3 }, e }));
\r
595 add(new JmPattern(type, "フォロー", "423", 10, 50, new byte[][] {
\r
596 { -10, 10, -10, 4 }, { 10, -3, 10, 10 }, { 0, 4, 0, 2 } }));
\r
597 add(new JmPattern(type, "ボストンメス A", "3", new byte[][] {
\r
598 { 10, -2, 10, -2 }, { 10, 3, 10, 3 }, { 0, -2, 0, -2 },
\r
599 { -10, 3, -10, 3 }, { -10, -2, -10, -2 }, { 0, 3, 0, 3 } }));
\r
600 add(new JmPattern(type, "ボストンメス B", "3", new byte[][] {
\r
601 { 10, 3, 10, -2 }, { 10, 3, 10, 3 }, { 0, -2, 0, -2 },
\r
602 { -10, 3, -10, 3 }, { -10, -2, -10, -2 }, { 0, 3, 0, 3 },
\r
603 { 10, -2, 10, 3 }, { 10, -2, 10, -2 }, { 0, 3, 0, 3 },
\r
604 { -10, -2, -10, -2 }, { -10, 3, -10, 3 }, { 0, -2, 0, -2 } }));
\r
605 add(new JmPattern(type, "ミルズメス", "3", 13, 50, millsmess));
\r
606 add(new JmPattern(type, "リバースミルズメス", "3", 13, 50, new byte[][] {
\r
607 { -12, 0, -1, 0 }, { 12, 0, 0, 0 }, { -12, 0, 1, 0 } }));
\r
608 add(new JmPattern(type, "バークスバラージ", "423", 10, 50, new byte[][] {
\r
609 { 12, 12, -6, -2 }, { -6, 5, -6, 12 }, { 0, 5, 0, 5 } }));
\r
616 new byte[][] { { 3, 1, 13, 8 }, { 7, -2, -10, -3 },
\r
617 { 3, 6, -12, 2 }, { -1, 0, 12, 2 }, { -2, 2, -10, -2 } }));
\r
618 add(new JmPattern(type, "片手3個", "60"));
\r
619 add(new JmPattern(type, "片手カスケード", "60", new byte[][] {
\r
620 { -6, 0, 2, 0 }, g, { 18, 0, 10, 0 }, g }));
\r
621 add(new JmPattern(type, "片手3個のマルチ", "[46]06020"));
\r
622 add(new JmPattern(type, "8040"));
\r
625 public void setPackage01En() throws JmException {
\r
628 add(new JmPattern(type, "531"));
\r
629 add(new JmPattern(type, "450"));
\r
630 add(new JmPattern(type, "5241"));
\r
631 add(new JmPattern(type, "51414"));
\r
632 add(new JmPattern(type, "72312"));
\r
633 add(new JmPattern(type, "wide cascade", "3", 12, 50, new byte[][] { { 21,
\r
635 add(new JmPattern(type, "ワイドリバースカスケード", "3", new byte[][] { { -8, 0,
\r
637 add(new JmPattern(type, "リーチオーバー連続", "3", 15, 50, new byte[][] {
\r
638 { 10, 0, 3, -2 }, { -13, 5, 13, 0 }, { 13, -3, 4, 0 } }));
\r
639 add(new JmPattern(type, "リーチアンダー連続", "3", 15, 50, new byte[][] {
\r
640 { 10, 4, 3, 4 }, { -13, -5, 13, 0 }, { 13, 3, 4, 0 } }));
\r
641 add(new JmPattern(type, "クロス アーム", "3",
\r
642 new byte[][] { { -4, 0, -12, 0 } }));
\r
643 add(new JmPattern(type, "リンゴ食べ放題", "(2,4x)(4x,2)", 12, 50,
\r
644 new byte[][] { { 0, 7, -3, -3 }, { 12, 10, 0, 8 },
\r
645 { 12, 10, 0, 8 }, { 0, 7, -3, -3 } }));
\r
647 add(new JmPattern(type, "1アップ2アップ B", "(4,4)(0,4x)(4,4)(4x,0)", 14, 50,
\r
648 new byte[][] { o, o, { 14, 0, 0, 0 }, o, o, o, o,
\r
649 { 14, 0, 0, 0 } }));
\r
650 add(new JmPattern(type, "1アップ2アップ C",
\r
651 "(4,4)(0,4x)(4,4)(4,0)(4,4)(4x,0)(4,4)(0,4)", 14, 50,
\r
652 new byte[][] { o, o, { 14, 0, 14, 0 }, o, o, o, o, a, o, o, o,
\r
653 { 14, 0, 14, 0 }, o, o, a, o }));
\r
654 add(new JmPattern(type, "1アップ2アップ D", "(4,4)(0,4x)(4,4)(4x,0)", 14, 50,
\r
655 new byte[][] { { 12, 0, -6, 0 }, { -6, 0, 12, 0 }, a, d,
\r
656 { -6, 0, 12, 0 }, { 12, 0, -6, 0 }, d, a }));
\r
657 add(new JmPattern(type, "1アップ2アップ E", "(4,4)(0,4)", 14, 50,
\r
658 new byte[][] { f, f, { 13, 0, -13, 0 }, f }));
\r
659 add(new JmPattern(type, "1アップ2アップ F", "(6,6)(0,2x)(4x,0)", 10, 50,
\r
660 new byte[][] { f, f, { 13, 7, 4, 0 }, f, f, { 4, 0, 13, 7 } }));
\r
662 byte[] fake1 = { 10, -1, 10, 0 };
\r
663 byte[] fake2 = { 0, -1, 0, 0 };
\r
664 byte[] fake3 = { 10, 10, 10, 10 };
\r
665 add(new JmPattern(type, "フェイク A", "(2,4)", 14, 50, new byte[][] {
\r
666 fake1, fake1, fake2, fake3 }));
\r
667 add(new JmPattern(type, "フェイク B", "(2,4)", 14, 50, new byte[][] {
\r
668 fake2, fake1, fake1, fake3 }));
\r
669 add(new JmPattern(type, "フェイク C", "(4,2)(4x,2)(2,4)(2,4x)", 13, 50,
\r
670 new byte[][] { fake1, fake1, fake3, fake2, fake1, fake1, fake2,
\r
672 add(new JmPattern(type, "ヨーヨーを一周", "(4,2)", 13, 50, new byte[][] {
\r
673 { 0, 2, 0, 3 }, fake2, { 0, 13, 0, 13 }, { 10, -1, -10, -1 } }));
\r
674 add(new JmPattern(type, "ヨーヨー(トルネード)", "(2,4)", new byte[][] { e,
\r
675 { 15, 15, -15, 14 }, { -5, 0, -5, 0 }, { 15, 14, -15, 15 } }));
\r
676 add(new JmPattern(type, "ヨーヨー(横断)", "(2,4)", new byte[][] { e,
\r
677 { 15, 12, 0, 12 }, { -5, 0, -5, 0 }, { -15, 12, 0, 12 } }));
\r
678 add(new JmPattern(type, "(4x,2x)(2,4)"));
\r
679 add(new JmPattern(type, "(4x,6)(0,2x)"));
\r
680 add(new JmPattern(type, "テニス B", "(2,4)(2,4x)(4,2)(4x,2)", 14, 50,
\r
681 new byte[][] { e, e, { 15, 3, 15, 3 }, e, e, e, e,
\r
682 { 15, 3, 15, 3 } }));
\r
683 add(new JmPattern(type, "自由の女神 B", "3", 14, 50, new byte[][] {
\r
684 { 3, 4, 12, 0 }, { 10, 17, 9, 19 } }));
\r
685 add(new JmPattern(type, "441", 13, 50));
\r
686 add(new JmPattern(type, "441 外回り", "441", 13, 50, new byte[][] { r, r,
\r
687 { 4, 0, 0, 0 } }));
\r
688 add(new JmPattern(type, "441 シャッフル", "441", 10, 50, new byte[][] {
\r
689 { 5, -2, 5, -2 }, d, { 15, 4, 9, 10 } }));
\r
690 add(new JmPattern(type, "ボスサイドスラム", "(4x,2x)(2,4x)(2x,4x)(4x,2)", 10,
\r
691 50, new byte[][] { { 6, 0, 12, 10 }, b, { 10, 0, 4, 0 }, d, b,
\r
692 { 6, 0, 12, 10 }, d, { 10, 0, 4, 0 } }));
\r
693 add(new JmPattern(type, "イクスチェンジ", "2334", 13, 50, new byte[][] {
\r
694 { 0, 11, 10, 11 }, { 10, 0, 0, 0 }, { 0, 12, -10, 12 },
\r
695 { 10, 0, 0, 0 } }));
\r
697 byte[] eb = { 3, 0, 10, 0 };
\r
698 add(new JmPattern(type, "ハーフシャワー B", "5223", shower));
\r
699 add(new JmPattern(type, "腕の下シャワー", "(2x,4x)", new byte[][] {
\r
700 { 5, 0, -10, 0 }, { 3, 4, -3, 4 } }));
\r
701 add(new JmPattern(type, "腕の下シャワー(交互)", "(2x,4x)", new byte[][] { eb,
\r
702 { 5, 4, 0, 4 }, { 3, 0, -10, 0 }, { 5, 4, 0, 4 } }));
\r
703 add(new JmPattern(type, "シンクロシャワー", "(2x,4x)", shower));
\r
704 add(new JmPattern(type, "ハイローシャワー A", "7131", shower));
\r
705 add(new JmPattern(type, "ハイローシャワー B", "(2x,6x)(2x,2x)", 15, 50,
\r
706 new byte[][] { { 6, 0, 12, 3 }, { 6, 3, 6, 0 }, { 6, 0, 6, 3 },
\r
707 { 12, 3, 6, 0 } }));
\r
708 add(new JmPattern(type, "ハイローシャワー C", "315171", shower));
\r
709 add(new JmPattern(type, "ハーフメス", "3", 13, 50, new byte[][] { c,
\r
710 { 0, 0, -12, -3 }, { 0, 2, -12, 2 }, { 0, -3, -6, 0 } }));
\r
711 add(new JmPattern(type, "ミルズメス 423", "423", millsmess));
\r
712 add(new JmPattern(type, "ミルズメス 414", "414", millsmess));
\r
713 add(new JmPattern(type, "ミルズメス 315", "315", millsmess));
\r
714 add(new JmPattern(type, "ミルズメス 44133", "44133", 13, 50, new byte[][] {
\r
715 { -2, 0, -12, 5 }, { 2, -2, 12, 0 }, { 0, 2, -3, 0 },
\r
716 { 10, 0, 10, 2 }, { 7, -2, -10, -3 } }));
\r
717 add(new JmPattern(type, "ミルズメス ボックス", "612", millsmess));
\r
718 add(new JmPattern(type, "ボックスもどき A", "126", 15, 50));
\r
719 add(new JmPattern(type, "ボックスもどき B", "630", 15, 50));
\r
720 add(new JmPattern(type, "ダブルボックス", "(4x,2x)(4,2x)(2x,4x)(2x,4)", 11,
\r
721 50, new byte[][] { { 14, 0, 7, 0 }, a, { 14, 0, 0, 0 },
\r
722 { 0, 0, 14, 0 }, a, { 14, 0, 7, 0 }, { 0, 0, 14, 0 },
\r
723 { 14, 0, 0, 0 } }));
\r
724 add(new JmPattern(type, "拡張ボックス",
\r
725 "(2x,8)(2x,4)(0,2x)(8,2x)(4,2x)(2x,0)", new byte[][] { eb, h,
\r
726 eb, h, h, eb, h, eb, h, eb, eb, h }));
\r
729 public void setPackage06En() throws JmException {
\r
731 add(new JmPattern(type, "[Create]", "1"));
\r