|
13 | 13 | "id": "main_menu", |
14 | 14 | "speaker": "player", |
15 | 15 | "lines": [ |
16 | | - "Zygarde Cube", |
| 16 | + "What would you like to do?", |
17 | 17 | { |
18 | 18 | "type": "expression", |
19 | 19 | "expression": "'You currently have ' + q.player.selected_item.damage + ' cells available.'" |
|
23 | 23 | "type": "option", |
24 | 24 | "options": [ |
25 | 25 | { |
26 | | - "text": "Create New Zygarde", |
| 26 | + "text": "Create", |
27 | 27 | "value": "create", |
28 | 28 | "isVisible": "q.player.selected_item.damage >= 10", |
29 | 29 | "action": "q.dialogue.set_page('create_form');" |
30 | 30 | }, |
31 | 31 | { |
32 | | - "text": "Modify Zygarde", |
33 | | - "value": "modify", |
34 | | - "isVisible": "q.player.has_in_party('cobblemon:zygarde')", |
35 | | - "action": "q.dialogue.set_page('select_zygarde_modify');" |
36 | | - }, |
37 | | - { |
38 | | - "text": "Dissolve Zygarde", |
| 32 | + "text": "Disassemble", |
39 | 33 | "value": "dissolve", |
40 | 34 | "isVisible": "q.player.has_in_party('cobblemon:zygarde')", |
41 | 35 | "action": "q.dialogue.set_page('select_zygarde_dissolve');" |
|
350 | 344 | "id": "select_zygarde_dissolve", |
351 | 345 | "speaker": "player", |
352 | 346 | "lines": [ |
353 | | - "Select which Zygarde to dissolve:", |
354 | | - "WARNING: This will remove the Pokémon from your party!" |
| 347 | + "Which Zygarde would you like to disassemble?", |
| 348 | + "WARNING: This will remove the Zygarde completely!" |
355 | 349 | ], |
356 | 350 | "input": { |
357 | 351 | "type": "option", |
|
364 | 358 | "v.slot = 0;", |
365 | 359 | "v.pokemon = q.player.party.get(0);", |
366 | 360 | "v.dissolve_form = v.pokemon.get_feature('zygarde_form');", |
367 | | - "v.cells_to_return = v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100);", |
| 361 | + "v.cells_to_return = (v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100)) + (v.pokemon.get_ability() == 'powerconstruct' ? 50 : 0);", |
368 | 362 | "q.dialogue.set_page('confirm_dissolve');" |
369 | 363 | ] |
370 | 364 | }, |
|
376 | 370 | "v.slot = 1;", |
377 | 371 | "v.pokemon = q.player.party.get(1);", |
378 | 372 | "v.dissolve_form = v.pokemon.get_feature('zygarde_form');", |
379 | | - "v.cells_to_return = v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100);", |
| 373 | + "v.cells_to_return = (v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100)) + (v.pokemon.get_ability() == 'powerconstruct' ? 50 : 0);", |
380 | 374 | "q.dialogue.set_page('confirm_dissolve');" |
381 | 375 | ] |
382 | 376 | }, |
|
388 | 382 | "v.slot = 2;", |
389 | 383 | "v.pokemon = q.player.party.get(2);", |
390 | 384 | "v.dissolve_form = v.pokemon.get_feature('zygarde_form');", |
391 | | - "v.cells_to_return = v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100);", |
| 385 | + "v.cells_to_return = (v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100)) + (v.pokemon.get_ability() == 'powerconstruct' ? 50 : 0);", |
392 | 386 | "q.dialogue.set_page('confirm_dissolve');" |
393 | 387 | ] |
394 | 388 | }, |
|
400 | 394 | "v.slot = 3;", |
401 | 395 | "v.pokemon = q.player.party.get(3);", |
402 | 396 | "v.dissolve_form = v.pokemon.get_feature('zygarde_form');", |
403 | | - "v.cells_to_return = v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100);", |
| 397 | + "v.cells_to_return = (v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100)) + (v.pokemon.get_ability() == 'powerconstruct' ? 50 : 0);", |
404 | 398 | "q.dialogue.set_page('confirm_dissolve');" |
405 | 399 | ] |
406 | 400 | }, |
|
412 | 406 | "v.slot = 4;", |
413 | 407 | "v.pokemon = q.player.party.get(4);", |
414 | 408 | "v.dissolve_form = v.pokemon.get_feature('zygarde_form');", |
415 | | - "v.cells_to_return = v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100);", |
| 409 | + "v.cells_to_return = (v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100)) + (v.pokemon.get_ability() == 'powerconstruct' ? 50 : 0);", |
416 | 410 | "q.dialogue.set_page('confirm_dissolve');" |
417 | 411 | ] |
418 | 412 | }, |
|
424 | 418 | "v.slot = 5;", |
425 | 419 | "v.pokemon = q.player.party.get(5);", |
426 | 420 | "v.dissolve_form = v.pokemon.get_feature('zygarde_form');", |
427 | | - "v.cells_to_return = v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100);", |
| 421 | + "v.cells_to_return = (v.dissolve_form == '10%' ? 10 : (v.dissolve_form == '50%' ? 50 : 100)) + (v.pokemon.get_ability() == 'powerconstruct' ? 50 : 0);", |
428 | 422 | "q.dialogue.set_page('confirm_dissolve');" |
429 | 423 | ] |
430 | 424 | }, |
|
442 | 436 | "lines": [ |
443 | 437 | { |
444 | 438 | "type": "expression", |
445 | | - "expression": "'Are you sure you want to dissolve this ' + v.dissolve_form + ' Zygarde?'" |
| 439 | + "expression": "'Are you sure you want to disassemble this ' + v.dissolve_form + ' Zygarde?'" |
446 | 440 | }, |
447 | 441 | { |
448 | 442 | "type": "expression", |
|
454 | 448 | "type": "option", |
455 | 449 | "options": [ |
456 | 450 | { |
457 | | - "text": "Yes, dissolve it", |
| 451 | + "text": "Yes", |
458 | 452 | "value": "yes", |
459 | 453 | "action": [ |
460 | 454 | "q.player.selected_item.damage(v.cells_to_return);", |
|
463 | 457 | ] |
464 | 458 | }, |
465 | 459 | { |
466 | | - "text": "No, cancel", |
| 460 | + "text": "No", |
467 | 461 | "value": "no", |
468 | 462 | "action": "q.dialogue.close();" |
469 | 463 | } |
|
474 | 468 | "id": "dissolved", |
475 | 469 | "speaker": "player", |
476 | 470 | "lines": [ |
477 | | - "Zygarde dissolved successfully!", |
| 471 | + "Zygarde disassembled successfully!", |
478 | 472 | { |
479 | 473 | "type": "expression", |
480 | | - "expression": "v.cells_to_return + ' cells returned to your Zygarde Cube.'" |
| 474 | + "expression": "v.cells_to_return + ' cells have been reassembled into your Zygarde Cube.'" |
481 | 475 | } |
482 | 476 | ], |
483 | 477 | "input": { |
|
501 | 495 | "type": "option", |
502 | 496 | "options": [ |
503 | 497 | { |
504 | | - "text": "10% Form (10 cells)", |
| 498 | + "text": "10% Aura Break", |
505 | 499 | "value": "10", |
506 | 500 | "isVisible": "q.player.selected_item.damage >= 10", |
507 | 501 | "action": [ |
508 | 502 | "v.form = '10%';", |
509 | 503 | "v.cells_needed = 10;", |
510 | | - "q.dialogue.set_page('create_ability');" |
| 504 | + "v.ability = 'aurabreak';", |
| 505 | + "v.ability_string_cheese = 'Aura Break';", |
| 506 | + "q.dialogue.set_page('confirm_create');" |
| 507 | + ] |
| 508 | + }, |
| 509 | + { |
| 510 | + "text": "10% PowerConstruct", |
| 511 | + "value": "60", |
| 512 | + "isVisible": "q.player.selected_item.damage >= 60", |
| 513 | + "action": [ |
| 514 | + "v.form = '10%';", |
| 515 | + "v.cells_needed = 60;", |
| 516 | + "v.ability = 'powerconstruct';", |
| 517 | + "v.ability_string_cheese = 'Power Construct';", |
| 518 | + "q.dialogue.set_page('confirm_create');" |
511 | 519 | ] |
512 | 520 | }, |
513 | 521 | { |
514 | | - "text": "50% Form (50 cells)", |
| 522 | + "text": "50% Aura Break", |
515 | 523 | "value": "50", |
516 | 524 | "isVisible": "q.player.selected_item.damage >= 50", |
517 | 525 | "action": [ |
518 | 526 | "v.form = '50%';", |
519 | 527 | "v.cells_needed = 50;", |
520 | | - "q.dialogue.set_page('create_ability');" |
| 528 | + "v.ability = 'aurabreak';", |
| 529 | + "v.ability_string_cheese = 'Aura Break';", |
| 530 | + "q.dialogue.set_page('confirm_create');" |
521 | 531 | ] |
522 | 532 | }, |
523 | 533 | { |
524 | | - "text": "100% Form (Complete) (100 cells)", |
| 534 | + "text": "50% PowerConstruct", |
525 | 535 | "value": "100", |
526 | 536 | "isVisible": "q.player.selected_item.damage >= 100", |
527 | 537 | "action": [ |
528 | | - "v.form = '100%';", |
| 538 | + "v.form = '50%';", |
529 | 539 | "v.cells_needed = 100;", |
530 | | - "q.dialogue.set_page('create_ability');" |
| 540 | + "v.ability = 'powerconstruct';", |
| 541 | + "v.ability_string_cheese = 'Power Construct';", |
| 542 | + "q.dialogue.set_page('confirm_create');" |
531 | 543 | ] |
532 | 544 | }, |
533 | 545 | { |
|
539 | 551 | } |
540 | 552 | }, |
541 | 553 | { |
542 | | - "id": "create_ability", |
| 554 | + "id": "confirm_create", |
543 | 555 | "speaker": "player", |
544 | 556 | "lines": [ |
545 | 557 | { |
546 | 558 | "type": "expression", |
547 | | - "expression": "'Creating ' + v.form + ' Zygarde'" |
| 559 | + "expression": "'Are you sure you want to create a ' + v.ability_string_cheese + ' ' + v.form + ' Zygarde?'" |
548 | 560 | }, |
549 | | - "Which ability should it have?" |
| 561 | + { |
| 562 | + "type": "expression", |
| 563 | + "expression": "'This will use ' + v.cells_needed + ' cells.'" |
| 564 | + } |
550 | 565 | ], |
551 | 566 | "input": { |
552 | 567 | "type": "option", |
553 | 568 | "options": [ |
554 | 569 | { |
555 | | - "text": "Aura Break", |
556 | | - "value": "aurabreak", |
557 | | - "action": [ |
558 | | - "v.ability = 'aurabreak';", |
559 | | - "q.dialogue.set_page('create_congrats');" |
560 | | - ] |
561 | | - }, |
562 | | - { |
563 | | - "text": "Power Construct", |
564 | | - "value": "powerconstruct", |
565 | | - "isVisible": "v.form == '50%' || v.form == '100%'", |
| 570 | + "text": "Yes", |
| 571 | + "value": "yes", |
566 | 572 | "action": [ |
567 | | - "v.ability = 'powerconstruct';", |
568 | 573 | "q.dialogue.set_page('create_congrats');" |
569 | 574 | ] |
570 | 575 | }, |
571 | 576 | { |
572 | | - "text": "Cancel", |
573 | | - "value": "cancel", |
| 577 | + "text": "No", |
| 578 | + "value": "no", |
574 | 579 | "action": "q.dialogue.close();" |
575 | 580 | } |
576 | 581 | ] |
|
583 | 588 | "Congratulations!", |
584 | 589 | { |
585 | 590 | "type": "expression", |
586 | | - "expression": "'You have created a ' + v.form + ' Zygarde with ' + v.ability + '!'" |
| 591 | + "expression": "'You have created a ' + v.form + ' Zygarde with ' + v.ability_string_cheese + '!'" |
587 | 592 | }, |
588 | 593 | "It was added to your party." |
589 | 594 | ], |
|
0 commit comments