设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 479|回复: 0
打印 上一主题 下一主题

[有事请教] 这个战斗显示信息为什么

[复制链接]

Lv4.逐梦者

梦石
0
星屑
13647
在线时间
3853 小时
注册时间
2013-7-18
帖子
2314
跳转到指定楼层
1
发表于 2022-1-22 17:50:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
本帖最后由 y967 于 2022-1-22 17:53 编辑

JAVASCRIPT 代码复制
  1. /*:
  2.  * @plugindesc Adds more options to the Battle Popups; customization over the attributes of the popups and the ability to add more.
  3.  * @author SumRndmDde
  4.  *
  5.  * @param == Global Options ==
  6.  * @default
  7.  *
  8.  * @param Font
  9.  * @desc The font used by the damage Popups.
  10.  * @default GameFont
  11.  *
  12.  * @param Font Size
  13.  * @desc The size of the font used by damage popups.
  14.  * @default 34
  15.  *
  16.  * @param X Shift
  17.  * @desc The shift of the X position between each stacked result.
  18.  * @default 0
  19.  *
  20.  * @param Y Shift
  21.  * @desc The shift of the Y position between each stacked result.
  22.  * @default 34
  23.  *
  24.  * @param Global Condition
  25.  * @desc This is a condition that must be true for the popup to appear. You can use both 'target' and 'result'.
  26.  * @default target.isAppeared()
  27.  *
  28.  * @param == HP Damage ==
  29.  * @default
  30.  *
  31.  * @param HP Damage Condition
  32.  * @desc If this condition is true, an HP Damage popup will appear.
  33.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  34.  * @default result.hpDamage > 0
  35.  *
  36.  * @param HP Damage Text
  37.  * @desc The text that appears when HP Damage occurs.
  38.  * Use %1 to represent the damage value.
  39.  * @default -%1 HP
  40.  *
  41.  * @param HP Damage Location
  42.  * @desc The initial location of the text for HP Damage.
  43.  * Use the format: X Position, Y Position
  44.  * @default 0, 0
  45.  *
  46.  * @param HP Damage Colors
  47.  * @desc The color of the text for HP Damage.
  48.  * Use the format: Base Color | Outline Color
  49.  * @default #FF4D4D | #000000
  50.  *
  51.  * @param HP Damage Animations
  52.  * @desc The animations used for the HP Damage text.
  53.  * Check the HELP for a list of choices.
  54.  * @default default
  55.  *
  56.  * @param HP Damage Duration
  57.  * @desc The duration of the HP Damage text.
  58.  * Input a positive number.
  59.  * @default 120
  60.  *
  61.  * @param HP Damage Flash
  62.  * @desc The flash of the HP Damage text.
  63.  * Use the format: red, green, blue, intensity, duration
  64.  * @default 0, 0, 0, 0, 0
  65.  *
  66.  * @param == HP Heal ==
  67.  * @default
  68.  *
  69.  * @param HP Heal Condition
  70.  * @desc If this condition is true, an HP Heal popup will appear.
  71.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  72.  * @default result.hpDamage < 0
  73.  *
  74.  * @param HP Heal Text
  75.  * @desc The text that appears when HP Heal occurs.
  76.  * Use %1 to represent the Heal value.
  77.  * @default +%1 HP
  78.  *
  79.  * @param HP Heal Location
  80.  * @desc The initial location of the text for HP Heal.
  81.  * Use the format: X Position, Y Position
  82.  * @default 0, 0
  83.  *
  84.  * @param HP Heal Colors
  85.  * @desc The color of the text for HP Heal.
  86.  * Use the format: Base Color | Outline Color
  87.  * @default #8CFF66 | #000000
  88.  *
  89.  * @param HP Heal Animations
  90.  * @desc The animations used for the HP Heal text.
  91.  * Check the HELP for a list of choices.
  92.  * @default default
  93.  *
  94.  * @param HP Heal Duration
  95.  * @desc The duration of the HP Heal text.
  96.  * Input a positive number.
  97.  * @default 120
  98.  *
  99.  * @param HP Heal Flash
  100.  * @desc The flash of the HP Heal text.
  101.  * Use the format: red, green, blue, intensity, duration
  102.  * @default 0, 0, 0, 0, 0
  103.  *
  104.  * @param == MP Damage ==
  105.  * @default
  106.  *
  107.  * @param MP Damage Condition
  108.  * @desc If this condition is true, an MP Damage popup will appear.
  109.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  110.  * @default result.mpDamage > 0
  111.  *
  112.  * @param MP Damage Text
  113.  * @desc The text that appears when MP Damage occurs.
  114.  * Use %1 to represent the damage value.
  115.  * @default -%1 MP
  116.  *
  117.  * @param MP Damage Location
  118.  * @desc The initial location of the text for MP Damage.
  119.  * Use the format: X Position, Y Position
  120.  * @default 0, 0
  121.  *
  122.  * @param MP Damage Colors
  123.  * @desc The color of the text for MP Damage.
  124.  * Use the format: Base Color | Outline Color
  125.  * @default #66B3FF | #000000
  126.  *
  127.  * @param MP Damage Animations
  128.  * @desc The animations used for the MP Damage text.
  129.  * Check the HELP for a list of choices.
  130.  * @default default
  131.  *
  132.  * @param MP Damage Duration
  133.  * @desc The duration of the MP Damage text.
  134.  * Input a positive number.
  135.  * @default 120
  136.  *
  137.  * @param MP Damage Flash
  138.  * @desc The flash of the MP Damage text.
  139.  * Use the format: red, green, blue, intensity, duration
  140.  * @default 0, 0, 0, 0, 0
  141.  *
  142.  * @param == MP Heal ==
  143.  * @default
  144.  *
  145.  * @param MP Heal Condition
  146.  * @desc If this condition is true, an MP Heal popup will appear.
  147.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  148.  * @default result.mpDamage < 0
  149.  *
  150.  * @param MP Heal Text
  151.  * @desc The text that appears when MP Heal occurs.
  152.  * Use %1 to represent the Heal value.
  153.  * @default +%1 MP
  154.  *
  155.  * @param MP Heal Location
  156.  * @desc The initial location of the text for MP Heal.
  157.  * Use the format: X Position, Y Position
  158.  * @default 0, 0
  159.  *
  160.  * @param MP Heal Colors
  161.  * @desc The color of the text for MP Heal.
  162.  * Use the format: Base Color | Outline Color
  163.  * @default #FFFF99 | #000000
  164.  *
  165.  * @param MP Heal Animations
  166.  * @desc The animations used for the MP Heal text.
  167.  * Check the HELP for a list of choices.
  168.  * @default default
  169.  *
  170.  * @param MP Heal Duration
  171.  * @desc The duration of the MP Heal text.
  172.  * Input a positive number.
  173.  * @default 120
  174.  *
  175.  * @param MP Heal Flash
  176.  * @desc The flash of the MP Heal text.
  177.  * Use the format: red, green, blue, intensity, duration
  178.  * @default 0, 0, 0, 0, 0
  179.  *
  180.  * @param == TP Damage ==
  181.  * @default
  182.  *
  183.  * @param TP Damage Condition
  184.  * @desc If this condition is true, an TP Damage popup will appear.
  185.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  186.  * @default result.tpDamage > 0
  187.  *
  188.  * @param TP Damage Text
  189.  * @desc The text that appears when TP Damage occurs.
  190.  * Use %1 to represent the damage value.
  191.  * @default -%1 TP
  192.  *
  193.  * @param TP Damage Location
  194.  * @desc The initial location of the text for TP Damage.
  195.  * Use the format: X Position, Y Position
  196.  * @default 0, 0
  197.  *
  198.  * @param TP Damage Colors
  199.  * @desc The color of the text for TP Damage.
  200.  * Use the format: Base Color | Outline Color
  201.  * @default #FFB3FF | #000000
  202.  *
  203.  * @param TP Damage Animations
  204.  * @desc The animations used for the TP Damage text.
  205.  * Check the HELP for a list of choices.
  206.  * @default default
  207.  *
  208.  * @param TP Damage Duration
  209.  * @desc The duration of the TP Damage text.
  210.  * Input a positive number.
  211.  * @default 120
  212.  *
  213.  * @param TP Damage Flash
  214.  * @desc The flash of the TP Damage text.
  215.  * Use the format: red, green, blue, intensity, duration
  216.  * @default 0, 0, 0, 0, 0
  217.  *
  218.  * @param == TP Heal ==
  219.  * @default
  220.  *
  221.  * @param TP Heal Condition
  222.  * @desc If this condition is true, an TP Heal popup will appear.
  223.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  224.  * @default result.tpDamage < 0
  225.  *
  226.  * @param TP Heal Text
  227.  * @desc The text that appears when TP Heal occurs.
  228.  * Use %1 to represent the Heal value.
  229.  * @default +%1 TP
  230.  *
  231.  * @param TP Heal Location
  232.  * @desc The initial location of the text for TP Heal.
  233.  * Use the format: X Position, Y Position
  234.  * @default 0, 0
  235.  *
  236.  * @param TP Heal Colors
  237.  * @desc The color of the text for TP Heal.
  238.  * Use the format: Base Color | Outline Color
  239.  * @default #99FF66 | #000000
  240.  *
  241.  * @param TP Heal Animations
  242.  * @desc The animations used for the TP Heal text.
  243.  * Check the HELP for a list of choices.
  244.  * @default default
  245.  *
  246.  * @param TP Heal Duration
  247.  * @desc The duration of the TP Heal text.
  248.  * Input a positive number.
  249.  * @default 120
  250.  *
  251.  * @param TP Heal Flash
  252.  * @desc The flash of the TP Heal text.
  253.  * Use the format: red, green, blue, intensity, duration
  254.  * @default 0, 0, 0, 0, 0
  255.  *
  256.  * @param == Miss ==
  257.  * @default
  258.  *
  259.  * @param Miss Condition
  260.  * @desc If this condition is true, an Miss popup will appear.
  261.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  262.  * @default result.used && result.missed
  263.  *
  264.  * @param Miss Text
  265.  * @desc The text that appears when a miss occurs.
  266.  * @default MISS
  267.  *
  268.  * @param Miss Location
  269.  * @desc The initial location of the text for missing.
  270.  * Use the format: X Position, Y Position
  271.  * @default 24, this._sprite.height * (-1/3)
  272.  *
  273.  * @param Miss Colors
  274.  * @desc The color of the text for miss.
  275.  * Use the format: Base Color | Outline Color
  276.  * @default #FFFFFF | #000000
  277.  *
  278.  * @param Miss Animations
  279.  * @desc The animations used for the miss text.
  280.  * Check the HELP for a list of choices.
  281.  * @default float
  282.  *
  283.  * @param Miss Duration
  284.  * @desc The duration of the miss text.
  285.  * Input a positive number.
  286.  * @default 45
  287.  *
  288.  * @param Miss Flash
  289.  * @desc The flash of the Miss text.
  290.  * Use the format: red, green, blue, intensity, duration
  291.  * @default 0, 0, 0, 0, 0
  292.  *
  293.  * @param == Evade ==
  294.  * @default
  295.  *
  296.  * @param Evade Condition
  297.  * @desc If this condition is true, an Evade popup will appear.
  298.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  299.  * @default result.evaded
  300.  *
  301.  * @param Evade Text
  302.  * @desc The text that appears when a evade occurs.
  303.  * @default EVADE
  304.  *
  305.  * @param Evade Location
  306.  * @desc The initial location of the text for evasion.
  307.  * Use the format: X Position, Y Position
  308.  * @default 24, this._sprite.height * (-1/3)
  309.  *
  310.  * @param Evade Colors
  311.  * @desc The color of the text for evade.
  312.  * Use the format: Base Color | Outline Color
  313.  * @default #FFFFFF | #000000
  314.  *
  315.  * @param Evade Animations
  316.  * @desc The animations used for the evade text.
  317.  * Check the HELP for a list of choices.
  318.  * @default float
  319.  *
  320.  * @param Evade Duration
  321.  * @desc The duration of the evade text.
  322.  * Input a positive number.
  323.  * @default 45
  324.  *
  325.  * @param Evade Flash
  326.  * @desc The flash of the Evade text.
  327.  * Use the format: red, green, blue, intensity, duration
  328.  * @default 0, 0, 0, 0, 0
  329.  *
  330.  * @param == Critical ==
  331.  * @default
  332.  *
  333.  * @param Critical Condition
  334.  * @desc If this condition is true, an Critical popup will appear.
  335.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  336.  * @default result.critical && result.used && !result.missed
  337.  *
  338.  * @param Critical Text
  339.  * @desc The text that appears when a critical occurs.
  340.  * @default CRITICAL
  341.  *
  342.  * @param Critical Location
  343.  * @desc The initial location of the text for criticals.
  344.  * Use the format: X Position, Y Position
  345.  * @default 24, this._sprite.height * (-1/3)
  346.  *
  347.  * @param Critical Colors
  348.  * @desc The color of the text for critical.
  349.  * Use the format: Base Color | Outline Color
  350.  * @default #FFFFFF | #000000
  351.  *
  352.  * @param Critical Animations
  353.  * @desc The animations used for the critical text.
  354.  * Check the HELP for a list of choices.
  355.  * @default float
  356.  *
  357.  * @param Critical Duration
  358.  * @desc The duration of the critical text.
  359.  * Input a positive number.
  360.  * @default 60
  361.  *
  362.  * @param Critical Flash
  363.  * @desc The flash of the Critical text.
  364.  * Use the format: red, green, blue, intensity, duration
  365.  * @default 255, 0, 0, 160, 60
  366.  *
  367.  * @param == Guarded ==
  368.  * @default
  369.  *
  370.  * @param Guarded Condition
  371.  * @desc If this condition is true, an Guarded popup will appear.
  372.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  373.  * @default result.guarded && result.used && !result.missed
  374.  *
  375.  * @param Guarded Text
  376.  * @desc The text that appears when a guarded occurs.
  377.  * @default GUARDED
  378.  *
  379.  * @param Guarded Location
  380.  * @desc The initial location of the text for guards.
  381.  * Use the format: X Position, Y Position
  382.  * @default 24, this._sprite.height * (-1/3)
  383.  *
  384.  * @param Guarded Colors
  385.  * @desc The color of the text for guarded.
  386.  * Use the format: Base Color | Outline Color
  387.  * @default #FFFFFF | #000000
  388.  *
  389.  * @param Guarded Animations
  390.  * @desc The animations used for the guarded text.
  391.  * Check the HELP for a list of choices.
  392.  * @default float
  393.  *
  394.  * @param Guarded Duration
  395.  * @desc The duration of the guarded text.
  396.  * Input a positive number.
  397.  * @default 60
  398.  *
  399.  * @param Guarded Flash
  400.  * @desc The flash of the Guarded text.
  401.  * Use the format: red, green, blue, intensity, duration
  402.  * @default 0, 130, 130, 160, 60
  403.   *
  404.  * @param == Custom 1 ==
  405.  * @default
  406.  *
  407.  * @param Custom 1 Condition
  408.  * @desc If this condition is true, an Custom popup will appear.
  409.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  410.  * @default result.drain && result.used && !result.missed
  411.  *
  412.  * @param Custom 1 Text
  413.  * @desc The text that appears when a Custom 1 occurs.
  414.  * @default DRAINED
  415.  *
  416.  * @param Custom 1 Location
  417.  * @desc The initial location of the text for Custom 1.
  418.  * Use the format: X Position, Y Position
  419.  * @default 24, this._sprite.height * (-1/3)
  420.  *
  421.  * @param Custom 1 Colors
  422.  * @desc The color of the text for Custom 1.
  423.  * Use the format: Base Color | Outline Color
  424.  * @default #FFFFFF | #000000
  425.  *
  426.  * @param Custom 1 Animations
  427.  * @desc The animations used for the Custom 1 text.
  428.  * Check the HELP for a list of choices.
  429.  * @default float
  430.  *
  431.  * @param Custom 1 Duration
  432.  * @desc The duration of the Custom 1 text.
  433.  * Input a positive number.
  434.  * @default 60
  435.  *
  436.  * @param Custom 1 Flash
  437.  * @desc The flash of the Custom 1 text.
  438.  * Use the format: red, green, blue, intensity, duration
  439.  * @default 204, 153, 255, 160, 60
  440.  *
  441.  * @param == Custom 2 ==
  442.  * @default
  443.  *
  444.  * @param Custom 2 Condition
  445.  * @desc If this condition is true, an Custom popup will appear.
  446.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  447.  * @default false
  448.  *
  449.  * @param Custom 2 Text
  450.  * @desc The text that appears when a Custom 2 occurs.
  451.  * @default
  452.  *
  453.  * @param Custom 2 Location
  454.  * @desc The initial location of the text for Custom 2.
  455.  * Use the format: X Position, Y Position
  456.  * @default 24, -48
  457.  *
  458.  * @param Custom 2 Colors
  459.  * @desc The color of the text for Custom 2.
  460.  * Use the format: Base Color | Outline Color
  461.  * @default #FFFFFF | #000000
  462.  *
  463.  * @param Custom 2 Animations
  464.  * @desc The animations used for the Custom 2 text.
  465.  * Check the HELP for a list of choices.
  466.  * @default float
  467.  *
  468.  * @param Custom 2 Duration
  469.  * @desc The duration of the Custom 2 text.
  470.  * Input a positive number.
  471.  * @default 60
  472.  *
  473.  * @param Custom 2 Flash
  474.  * @desc The flash of the Custom 2 text.
  475.  * Use the format: red, green, blue, intensity, duration
  476.  * @default 0, 0, 0, 0, 0
  477.  *
  478.  * @param == Custom 3 ==
  479.  * @default
  480.  *
  481.  * @param Custom 3 Condition
  482.  * @desc If this condition is true, an Custom popup will appear.
  483.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  484.  * @default false
  485.  *
  486.  * @param Custom 3 Text
  487.  * @desc The text that appears when a Custom 3 occurs.
  488.  * @default
  489.  *
  490.  * @param Custom 3 Location
  491.  * @desc The initial location of the text for Custom 3.
  492.  * Use the format: X Position, Y Position
  493.  * @default 24, -48
  494.  *
  495.  * @param Custom 3 Colors
  496.  * @desc The color of the text for Custom 3.
  497.  * Use the format: Base Color | Outline Color
  498.  * @default #FFFFFF | #000000
  499.  *
  500.  * @param Custom 3 Animations
  501.  * @desc The animations used for the Custom 3 text.
  502.  * Check the HELP for a list of choices.
  503.  * @default float
  504.  *
  505.  * @param Custom 3 Duration
  506.  * @desc The duration of the Custom 3 text.
  507.  * Input a positive number.
  508.  * @default 60
  509.  *
  510.  * @param Custom 3 Flash
  511.  * @desc The flash of the Custom 3 text.
  512.  * Use the format: red, green, blue, intensity, duration
  513.  * @default 0, 0, 0, 0, 0
  514.  *
  515.  * @param == Custom 4 ==
  516.  * @default
  517.  *
  518.  * @param Custom 4 Condition
  519.  * @desc If this condition is true, an Custom popup will appear.
  520.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  521.  * @default false
  522.  *
  523.  * @param Custom 4 Text
  524.  * @desc The text that appears when a Custom 4 occurs.
  525.  * @default
  526.  *
  527.  * @param Custom 4 Location
  528.  * @desc The initial location of the text for Custom 4.
  529.  * Use the format: X Position, Y Position
  530.  * @default 24, -48
  531.  *
  532.  * @param Custom 4 Colors
  533.  * @desc The color of the text for Custom 4.
  534.  * Use the format: Base Color | Outline Color
  535.  * @default #FFFFFF | #000000
  536.  *
  537.  * @param Custom 4 Animations
  538.  * @desc The animations used for the Custom 4 text.
  539.  * Check the HELP for a list of choices.
  540.  * @default float
  541.  *
  542.  * @param Custom 4 Duration
  543.  * @desc The duration of the Custom 4 text.
  544.  * Input a positive number.
  545.  * @default 60
  546.  *
  547.  * @param Custom 4 Flash
  548.  * @desc The flash of the Custom 4 text.
  549.  * Use the format: red, green, blue, intensity, duration
  550.  * @default 0, 0, 0, 0, 0
  551.  *
  552.  * @param == Custom 5 ==
  553.  * @default
  554.  *
  555.  * @param Custom 5 Condition
  556.  * @desc If this condition is true, an Custom popup will appear.
  557.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  558.  * @default false
  559.  *
  560.  * @param Custom 5 Text
  561.  * @desc The text that appears when a Custom 5 occurs.
  562.  * @default
  563.  *
  564.  * @param Custom 5 Location
  565.  * @desc The initial location of the text for Custom 5.
  566.  * Use the format: X Position, Y Position
  567.  * @default 24, -48
  568.  *
  569.  * @param Custom 5 Colors
  570.  * @desc The color of the text for Custom 5.
  571.  * Use the format: Base Color | Outline Color
  572.  * @default #FFFFFF | #000000
  573.  *
  574.  * @param Custom 5 Animations
  575.  * @desc The animations used for the Custom 5 text.
  576.  * Check the HELP for a list of choices.
  577.  * @default float
  578.  *
  579.  * @param Custom 5 Duration
  580.  * @desc The duration of the Custom 5 text.
  581.  * Input a positive number.
  582.  * @default 60
  583.  *
  584.  * @param Custom 5 Flash
  585.  * @desc The flash of the Custom 5 text.
  586.  * Use the format: red, green, blue, intensity, duration
  587.  * @default 0, 0, 0, 0, 0
  588.  *
  589.  * @param == Custom 6 ==
  590.  * @default
  591.  *
  592.  * @param Custom 6 Condition
  593.  * @desc If this condition is true, an Custom popup will appear.
  594.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  595.  * @default false
  596.  *
  597.  * @param Custom 6 Text
  598.  * @desc The text that appears when a Custom 6 occurs.
  599.  * @default
  600.  *
  601.  * @param Custom 6 Location
  602.  * @desc The initial location of the text for Custom 6.
  603.  * Use the format: X Position, Y Position
  604.  * @default 24, -48
  605.  *
  606.  * @param Custom 6 Colors
  607.  * @desc The color of the text for Custom 6.
  608.  * Use the format: Base Color | Outline Color
  609.  * @default #FFFFFF | #000000
  610.  *
  611.  * @param Custom 6 Animations
  612.  * @desc The animations used for the Custom 6 text.
  613.  * Check the HELP for a list of choices.
  614.  * @default float
  615.  *
  616.  * @param Custom 6 Duration
  617.  * @desc The duration of the Custom 6 text.
  618.  * Input a positive number.
  619.  * @default 60
  620.  *
  621.  * @param Custom 6 Flash
  622.  * @desc The flash of the Custom 6 text.
  623.  * Use the format: red, green, blue, intensity, duration
  624.  * @default 0, 0, 0, 0, 0
  625.  *
  626.  * @param == Custom 7 ==
  627.  * @default
  628.  *
  629.  * @param Custom 7 Condition
  630.  * @desc If this condition is true, an Custom popup will appear.
  631.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  632.  * @default false
  633.  *
  634.  * @param Custom 7 Text
  635.  * @desc The text that appears when a Custom 7 occurs.
  636.  * @default
  637.  *
  638.  * @param Custom 7 Location
  639.  * @desc The initial location of the text for Custom 7.
  640.  * Use the format: X Position, Y Position
  641.  * @default 24, -48
  642.  *
  643.  * @param Custom 7 Colors
  644.  * @desc The color of the text for Custom 7.
  645.  * Use the format: Base Color | Outline Color
  646.  * @default #FFFFFF | #000000
  647.  *
  648.  * @param Custom 7 Animations
  649.  * @desc The animations used for the Custom 7 text.
  650.  * Check the HELP for a list of choices.
  651.  * @default float
  652.  *
  653.  * @param Custom 7 Duration
  654.  * @desc The duration of the Custom 7 text.
  655.  * Input a positive number.
  656.  * @default 60
  657.  *
  658.  * @param Custom 7 Flash
  659.  * @desc The flash of the Custom 7 text.
  660.  * Use the format: red, green, blue, intensity, duration
  661.  * @default 0, 0, 0, 0, 0
  662.  *
  663.  * @param == Custom 8 ==
  664.  * @default
  665.  *
  666.  * @param Custom 8 Condition
  667.  * @desc If this condition is true, an Custom popup will appear.
  668.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  669.  * @default false
  670.  *
  671.  * @param Custom 8 Text
  672.  * @desc The text that appears when a Custom 8 occurs.
  673.  * @default
  674.  *
  675.  * @param Custom 8 Location
  676.  * @desc The initial location of the text for Custom 8.
  677.  * Use the format: X Position, Y Position
  678.  * @default 24, -48
  679.  *
  680.  * @param Custom 8 Colors
  681.  * @desc The color of the text for Custom 8.
  682.  * Use the format: Base Color | Outline Color
  683.  * @default #FFFFFF | #000000
  684.  *
  685.  * @param Custom 8 Animations
  686.  * @desc The animations used for the Custom 8 text.
  687.  * Check the HELP for a list of choices.
  688.  * @default float
  689.  *
  690.  * @param Custom 8 Duration
  691.  * @desc The duration of the Custom 8 text.
  692.  * Input a positive number.
  693.  * @default 60
  694.  *
  695.  * @param Custom 8 Flash
  696.  * @desc The flash of the Custom 8 text.
  697.  * Use the format: red, green, blue, intensity, duration
  698.  * @default 0, 0, 0, 0, 0
  699.  *
  700.  * @param == Custom 9 ==
  701.  * @default
  702.  *
  703.  * @param Custom 9 Condition
  704.  * @desc If this condition is true, an Custom popup will appear.
  705.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  706.  * @default false
  707.  *
  708.  * @param Custom 9 Text
  709.  * @desc The text that appears when a Custom 9 occurs.
  710.  * @default
  711.  *
  712.  * @param Custom 9 Location
  713.  * @desc The initial location of the text for Custom 9.
  714.  * Use the format: X Position, Y Position
  715.  * @default 24, -48
  716.  *
  717.  * @param Custom 9 Colors
  718.  * @desc The color of the text for Custom 9.
  719.  * Use the format: Base Color | Outline Color
  720.  * @default #FFFFFF | #000000
  721.  *
  722.  * @param Custom 9 Animations
  723.  * @desc The animations used for the Custom 9 text.
  724.  * Check the HELP for a list of choices.
  725.  * @default float
  726.  *
  727.  * @param Custom 9 Duration
  728.  * @desc The duration of the Custom 9 text.
  729.  * Input a positive number.
  730.  * @default 60
  731.  *
  732.  * @param Custom 9 Flash
  733.  * @desc The flash of the Custom 9 text.
  734.  * Use the format: red, green, blue, intensity, duration
  735.  * @default 0, 0, 0, 0, 0
  736.  *
  737.  * @param == Custom 10 ==
  738.  * @default
  739.  *
  740.  * @param Custom 10 Condition
  741.  * @desc If this condition is true, an Custom popup will appear.
  742.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  743.  * @default false
  744.  *
  745.  * @param Custom 10 Text
  746.  * @desc The text that appears when a Custom 10 occurs.
  747.  * @default
  748.  *
  749.  * @param Custom 10 Location
  750.  * @desc The initial location of the text for Custom 10.
  751.  * Use the format: X Position, Y Position
  752.  * @default 24, -48
  753.  *
  754.  * @param Custom 10 Colors
  755.  * @desc The color of the text for Custom 10.
  756.  * Use the format: Base Color | Outline Color
  757.  * @default #FFFFFF | #000000
  758.  *
  759.  * @param Custom 10 Animations
  760.  * @desc The animations used for the Custom 10 text.
  761.  * Check the HELP for a list of choices.
  762.  * @default float
  763.  *
  764.  * @param Custom 10 Duration
  765.  * @desc The duration of the Custom 10 text.
  766.  * Input a positive number.
  767.  * @default 60
  768.  *
  769.  * @param Custom 10 Flash
  770.  * @desc The flash of the Custom 10 text.
  771.  * Use the format: red, green, blue, intensity, duration
  772.  * @default 0, 0, 0, 0, 0
  773.  *
  774.  * @param == Custom 11 ==
  775.  * @default
  776.  *
  777.  * @param Custom 11 Condition
  778.  * @desc If this condition is true, an Custom popup will appear.
  779.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  780.  * @default false
  781.  *
  782.  * @param Custom 11 Text
  783.  * @desc The text that appears when a Custom 11 occurs.
  784.  * @default
  785.  *
  786.  * @param Custom 11 Location
  787.  * @desc The initial location of the text for Custom 11.
  788.  * Use the format: X Position, Y Position
  789.  * @default 24, -48
  790.  *
  791.  * @param Custom 11 Colors
  792.  * @desc The color of the text for Custom 11.
  793.  * Use the format: Base Color | Outline Color
  794.  * @default #FFFFFF | #000000
  795.  *
  796.  * @param Custom 11 Animations
  797.  * @desc The animations used for the Custom 11 text.
  798.  * Check the HELP for a list of choices.
  799.  * @default float
  800.  *
  801.  * @param Custom 11 Duration
  802.  * @desc The duration of the Custom 11 text.
  803.  * Input a positive number.
  804.  * @default 60
  805.  *
  806.  * @param Custom 11 Flash
  807.  * @desc The flash of the Custom 11 text.
  808.  * Use the format: red, green, blue, intensity, duration
  809.  * @default 0, 0, 0, 0, 0
  810.  *
  811.  * @param == Custom 12 ==
  812.  * @default
  813.  *
  814.  * @param Custom 12 Condition
  815.  * @desc If this condition is true, an Custom popup will appear.
  816.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  817.  * @default false
  818.  *
  819.  * @param Custom 12 Text
  820.  * @desc The text that appears when a Custom 12 occurs.
  821.  * @default
  822.  *
  823.  * @param Custom 12 Location
  824.  * @desc The initial location of the text for Custom 12.
  825.  * Use the format: X Position, Y Position
  826.  * @default 24, -48
  827.  *
  828.  * @param Custom 12 Colors
  829.  * @desc The color of the text for Custom 12.
  830.  * Use the format: Base Color | Outline Color
  831.  * @default #FFFFFF | #000000
  832.  *
  833.  * @param Custom 12 Animations
  834.  * @desc The animations used for the Custom 12 text.
  835.  * Check the HELP for a list of choices.
  836.  * @default float
  837.  *
  838.  * @param Custom 12 Duration
  839.  * @desc The duration of the Custom 12 text.
  840.  * Input a positive number.
  841.  * @default 60
  842.  *
  843.  * @param Custom 12 Flash
  844.  * @desc The flash of the Custom 12 text.
  845.  * Use the format: red, green, blue, intensity, duration
  846.  * @default 0, 0, 0, 0, 0
  847.  *
  848.  * @param == Custom 13 ==
  849.  * @default
  850.  *
  851.  * @param Custom 13 Condition
  852.  * @desc If this condition is true, an Custom popup will appear.
  853.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  854.  * @default false
  855.  *
  856.  * @param Custom 13 Text
  857.  * @desc The text that appears when a Custom 13 occurs.
  858.  * @default
  859.  *
  860.  * @param Custom 13 Location
  861.  * @desc The initial location of the text for Custom 13.
  862.  * Use the format: X Position, Y Position
  863.  * @default 24, -48
  864.  *
  865.  * @param Custom 13 Colors
  866.  * @desc The color of the text for Custom 13.
  867.  * Use the format: Base Color | Outline Color
  868.  * @default #FFFFFF | #000000
  869.  *
  870.  * @param Custom 13 Animations
  871.  * @desc The animations used for the Custom 13 text.
  872.  * Check the HELP for a list of choices.
  873.  * @default float
  874.  *
  875.  * @param Custom 13 Duration
  876.  * @desc The duration of the Custom 13 text.
  877.  * Input a positive number.
  878.  * @default 60
  879.  *
  880.  * @param Custom 13 Flash
  881.  * @desc The flash of the Custom 13 text.
  882.  * Use the format: red, green, blue, intensity, duration
  883.  * @default 0, 0, 0, 0, 0
  884.  *
  885.  * @param == Custom 14 ==
  886.  * @default
  887.  *
  888.  * @param Custom 14 Condition
  889.  * @desc If this condition is true, an Custom popup will appear.
  890.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  891.  * @default false
  892.  *
  893.  * @param Custom 14 Text
  894.  * @desc The text that appears when a Custom 14 occurs.
  895.  * @default
  896.  *
  897.  * @param Custom 14 Location
  898.  * @desc The initial location of the text for Custom 14.
  899.  * Use the format: X Position, Y Position
  900.  * @default 24, -48
  901.  *
  902.  * @param Custom 14 Colors
  903.  * @desc The color of the text for Custom 14.
  904.  * Use the format: Base Color | Outline Color
  905.  * @default #FFFFFF | #000000
  906.  *
  907.  * @param Custom 14 Animations
  908.  * @desc The animations used for the Custom 14 text.
  909.  * Check the HELP for a list of choices.
  910.  * @default float
  911.  *
  912.  * @param Custom 14 Duration
  913.  * @desc The duration of the Custom 14 text.
  914.  * Input a positive number.
  915.  * @default 60
  916.  *
  917.  * @param Custom 14 Flash
  918.  * @desc The flash of the Custom 14 text.
  919.  * Use the format: red, green, blue, intensity, duration
  920.  * @default 0, 0, 0, 0, 0
  921.  *
  922.  * @param == Custom 15 ==
  923.  * @default
  924.  *
  925.  * @param Custom 15 Condition
  926.  * @desc If this condition is true, an Custom popup will appear.
  927.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  928.  * @default false
  929.  *
  930.  * @param Custom 15 Text
  931.  * @desc The text that appears when a Custom 15 occurs.
  932.  * @default
  933.  *
  934.  * @param Custom 15 Location
  935.  * @desc The initial location of the text for Custom 15.
  936.  * Use the format: X Position, Y Position
  937.  * @default 24, -48
  938.  *
  939.  * @param Custom 15 Colors
  940.  * @desc The color of the text for Custom 15.
  941.  * Use the format: Base Color | Outline Color
  942.  * @default #FFFFFF | #000000
  943.  *
  944.  * @param Custom 15 Animations
  945.  * @desc The animations used for the Custom 15 text.
  946.  * Check the HELP for a list of choices.
  947.  * @default float
  948.  *
  949.  * @param Custom 15 Duration
  950.  * @desc The duration of the Custom 15 text.
  951.  * Input a positive number.
  952.  * @default 60
  953.  *
  954.  * @param Custom 15 Flash
  955.  * @desc The flash of the Custom 15 text.
  956.  * Use the format: red, green, blue, intensity, duration
  957.  * @default 0, 0, 0, 0, 0
  958.  *
  959.  * @param == Custom 16 ==
  960.  * @default
  961.  *
  962.  * @param Custom 16 Condition
  963.  * @desc If this condition is true, an Custom popup will appear.
  964.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  965.  * @default false
  966.  *
  967.  * @param Custom 16 Text
  968.  * @desc The text that appears when a Custom 16 occurs.
  969.  * @default
  970.  *
  971.  * @param Custom 16 Location
  972.  * @desc The initial location of the text for Custom 16.
  973.  * Use the format: X Position, Y Position
  974.  * @default 24, -48
  975.  *
  976.  * @param Custom 16 Colors
  977.  * @desc The color of the text for Custom 16.
  978.  * Use the format: Base Color | Outline Color
  979.  * @default #FFFFFF | #000000
  980.  *
  981.  * @param Custom 16 Animations
  982.  * @desc The animations used for the Custom 16 text.
  983.  * Check the HELP for a list of choices.
  984.  * @default float
  985.  *
  986.  * @param Custom 16 Duration
  987.  * @desc The duration of the Custom 16 text.
  988.  * Input a positive number.
  989.  * @default 60
  990.  *
  991.  * @param Custom 16 Flash
  992.  * @desc The flash of the Custom 16 text.
  993.  * Use the format: red, green, blue, intensity, duration
  994.  * @default 0, 0, 0, 0, 0
  995.  *
  996.  * @param == Custom 17 ==
  997.  * @default
  998.  *
  999.  * @param Custom 17 Condition
  1000.  * @desc If this condition is true, an Custom popup will appear.
  1001.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1002.  * @default false
  1003.  *
  1004.  * @param Custom 17 Text
  1005.  * @desc The text that appears when a Custom 17 occurs.
  1006.  * @default
  1007.  *
  1008.  * @param Custom 17 Location
  1009.  * @desc The initial location of the text for Custom 17.
  1010.  * Use the format: X Position, Y Position
  1011.  * @default 24, -48
  1012.  *
  1013.  * @param Custom 17 Colors
  1014.  * @desc The color of the text for Custom 17.
  1015.  * Use the format: Base Color | Outline Color
  1016.  * @default #FFFFFF | #000000
  1017.  *
  1018.  * @param Custom 17 Animations
  1019.  * @desc The animations used for the Custom 17 text.
  1020.  * Check the HELP for a list of choices.
  1021.  * @default float
  1022.  *
  1023.  * @param Custom 17 Duration
  1024.  * @desc The duration of the Custom 17 text.
  1025.  * Input a positive number.
  1026.  * @default 60
  1027.  *
  1028.  * @param Custom 17 Flash
  1029.  * @desc The flash of the Custom 17 text.
  1030.  * Use the format: red, green, blue, intensity, duration
  1031.  * @default 0, 0, 0, 0, 0
  1032.  *
  1033.  * @param == Custom 18 ==
  1034.  * @default
  1035.  *
  1036.  * @param Custom 18 Condition
  1037.  * @desc If this condition is true, an Custom popup will appear.
  1038.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1039.  * @default false
  1040.  *
  1041.  * @param Custom 18 Text
  1042.  * @desc The text that appears when a Custom 18 occurs.
  1043.  * @default
  1044.  *
  1045.  * @param Custom 18 Location
  1046.  * @desc The initial location of the text for Custom 18.
  1047.  * Use the format: X Position, Y Position
  1048.  * @default 24, -48
  1049.  *
  1050.  * @param Custom 18 Colors
  1051.  * @desc The color of the text for Custom 18.
  1052.  * Use the format: Base Color | Outline Color
  1053.  * @default #FFFFFF | #000000
  1054.  *
  1055.  * @param Custom 18 Animations
  1056.  * @desc The animations used for the Custom 18 text.
  1057.  * Check the HELP for a list of choices.
  1058.  * @default float
  1059.  *
  1060.  * @param Custom 18 Duration
  1061.  * @desc The duration of the Custom 18 text.
  1062.  * Input a positive number.
  1063.  * @default 60
  1064.  *
  1065.  * @param Custom 18 Flash
  1066.  * @desc The flash of the Custom 18 text.
  1067.  * Use the format: red, green, blue, intensity, duration
  1068.  * @default 0, 0, 0, 0, 0
  1069.  *
  1070.  * @param == Custom 19 ==
  1071.  * @default
  1072.  *
  1073.  * @param Custom 19 Condition
  1074.  * @desc If this condition is true, an Custom popup will appear.
  1075.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1076.  * @default false
  1077.  *
  1078.  * @param Custom 19 Text
  1079.  * @desc The text that appears when a Custom 19 occurs.
  1080.  * @default
  1081.  *
  1082.  * @param Custom 19 Location
  1083.  * @desc The initial location of the text for Custom 19.
  1084.  * Use the format: X Position, Y Position
  1085.  * @default 24, -48
  1086.  *
  1087.  * @param Custom 19 Colors
  1088.  * @desc The color of the text for Custom 19.
  1089.  * Use the format: Base Color | Outline Color
  1090.  * @default #FFFFFF | #000000
  1091.  *
  1092.  * @param Custom 19 Animations
  1093.  * @desc The animations used for the Custom 19 text.
  1094.  * Check the HELP for a list of choices.
  1095.  * @default float
  1096.  *
  1097.  * @param Custom 19 Duration
  1098.  * @desc The duration of the Custom 19 text.
  1099.  * Input a positive number.
  1100.  * @default 60
  1101.  *
  1102.  * @param Custom 19 Flash
  1103.  * @desc The flash of the Custom 19 text.
  1104.  * Use the format: red, green, blue, intensity, duration
  1105.  * @default 0, 0, 0, 0, 0
  1106.  *
  1107.  * @param == Custom 20 ==
  1108.  * @default
  1109.  *
  1110.  * @param Custom 20 Condition
  1111.  * @desc If this condition is true, an Custom popup will appear.
  1112.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1113.  * @default false
  1114.  *
  1115.  * @param Custom 20 Text
  1116.  * @desc The text that appears when a Custom 20 occurs.
  1117.  * @default
  1118.  *
  1119.  * @param Custom 20 Location
  1120.  * @desc The initial location of the text for Custom 20.
  1121.  * Use the format: X Position, Y Position
  1122.  * @default 24, -48
  1123.  *
  1124.  * @param Custom 20 Colors
  1125.  * @desc The color of the text for Custom 20.
  1126.  * Use the format: Base Color | Outline Color
  1127.  * @default #FFFFFF | #000000
  1128.  *
  1129.  * @param Custom 20 Animations
  1130.  * @desc The animations used for the Custom 20 text.
  1131.  * Check the HELP for a list of choices.
  1132.  * @default float
  1133.  *
  1134.  * @param Custom 20 Duration
  1135.  * @desc The duration of the Custom 20 text.
  1136.  * Input a positive number.
  1137.  * @default 60
  1138.  *
  1139.  * @param Custom 20 Flash
  1140.  * @desc The flash of the Custom 20 text.
  1141.  * Use the format: red, green, blue, intensity, duration
  1142.  * @default 0, 0, 0, 0, 0
  1143.  *
  1144.  * @param == Custom 21 ==
  1145.  * @default
  1146.  *
  1147.  * @param Custom 21 Condition
  1148.  * @desc If this condition is true, an Custom popup will appear.
  1149.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1150.  * @default false
  1151.  *
  1152.  * @param Custom 21 Text
  1153.  * @desc The text that appears when a Custom 21 occurs.
  1154.  * @default
  1155.  *
  1156.  * @param Custom 21 Location
  1157.  * @desc The initial location of the text for Custom 21.
  1158.  * Use the format: X Position, Y Position
  1159.  * @default 24, -48
  1160.  *
  1161.  * @param Custom 21 Colors
  1162.  * @desc The color of the text for Custom 21.
  1163.  * Use the format: Base Color | Outline Color
  1164.  * @default #FFFFFF | #000000
  1165.  *
  1166.  * @param Custom 21 Animations
  1167.  * @desc The animations used for the Custom 21 text.
  1168.  * Check the HELP for a list of choices.
  1169.  * @default float
  1170.  *
  1171.  * @param Custom 21 Duration
  1172.  * @desc The duration of the Custom 21 text.
  1173.  * Input a positive number.
  1174.  * @default 60
  1175.  *
  1176.  * @param Custom 21 Flash
  1177.  * @desc The flash of the Custom 21 text.
  1178.  * Use the format: red, green, blue, intensity, duration
  1179.  * @default 0, 0, 0, 0, 0
  1180.  *
  1181.  * @param == Custom 22 ==
  1182.  * @default
  1183.  *
  1184.  * @param Custom 22 Condition
  1185.  * @desc If this condition is true, an Custom popup will appear.
  1186.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1187.  * @default false
  1188.  *
  1189.  * @param Custom 22 Text
  1190.  * @desc The text that appears when a Custom 22 occurs.
  1191.  * @default
  1192.  *
  1193.  * @param Custom 22 Location
  1194.  * @desc The initial location of the text for Custom 22.
  1195.  * Use the format: X Position, Y Position
  1196.  * @default 24, -48
  1197.  *
  1198.  * @param Custom 22 Colors
  1199.  * @desc The color of the text for Custom 22.
  1200.  * Use the format: Base Color | Outline Color
  1201.  * @default #FFFFFF | #000000
  1202.  *
  1203.  * @param Custom 22 Animations
  1204.  * @desc The animations used for the Custom 22 text.
  1205.  * Check the HELP for a list of choices.
  1206.  * @default float
  1207.  *
  1208.  * @param Custom 22 Duration
  1209.  * @desc The duration of the Custom 22 text.
  1210.  * Input a positive number.
  1211.  * @default 60
  1212.  *
  1213.  * @param Custom 22 Flash
  1214.  * @desc The flash of the Custom 22 text.
  1215.  * Use the format: red, green, blue, intensity, duration
  1216.  * @default 0, 0, 0, 0, 0
  1217.  *
  1218.  * @param == Custom 23 ==
  1219.  * @default
  1220.  *
  1221.  * @param Custom 23 Condition
  1222.  * @desc If this condition is true, an Custom popup will appear.
  1223.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1224.  * @default false
  1225.  *
  1226.  * @param Custom 23 Text
  1227.  * @desc The text that appears when a Custom 23 occurs.
  1228.  * @default
  1229.  *
  1230.  * @param Custom 23 Location
  1231.  * @desc The initial location of the text for Custom 23.
  1232.  * Use the format: X Position, Y Position
  1233.  * @default 24, -48
  1234.  *
  1235.  * @param Custom 23 Colors
  1236.  * @desc The color of the text for Custom 23.
  1237.  * Use the format: Base Color | Outline Color
  1238.  * @default #FFFFFF | #000000
  1239.  *
  1240.  * @param Custom 23 Animations
  1241.  * @desc The animations used for the Custom 23 text.
  1242.  * Check the HELP for a list of choices.
  1243.  * @default float
  1244.  *
  1245.  * @param Custom 23 Duration
  1246.  * @desc The duration of the Custom 23 text.
  1247.  * Input a positive number.
  1248.  * @default 60
  1249.  *
  1250.  * @param Custom 23 Flash
  1251.  * @desc The flash of the Custom 23 text.
  1252.  * Use the format: red, green, blue, intensity, duration
  1253.  * @default 0, 0, 0, 0, 0
  1254.  *
  1255.  * @param == Custom 24 ==
  1256.  * @default
  1257.  *
  1258.  * @param Custom 24 Condition
  1259.  * @desc If this condition is true, an Custom popup will appear.
  1260.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1261.  * @default false
  1262.  *
  1263.  * @param Custom 24 Text
  1264.  * @desc The text that appears when a Custom 24 occurs.
  1265.  * @default
  1266.  *
  1267.  * @param Custom 24 Location
  1268.  * @desc The initial location of the text for Custom 24.
  1269.  * Use the format: X Position, Y Position
  1270.  * @default 24, -48
  1271.  *
  1272.  * @param Custom 24 Colors
  1273.  * @desc The color of the text for Custom 24.
  1274.  * Use the format: Base Color | Outline Color
  1275.  * @default #FFFFFF | #000000
  1276.  *
  1277.  * @param Custom 24 Animations
  1278.  * @desc The animations used for the Custom 24 text.
  1279.  * Check the HELP for a list of choices.
  1280.  * @default float
  1281.  *
  1282.  * @param Custom 24 Duration
  1283.  * @desc The duration of the Custom 24 text.
  1284.  * Input a positive number.
  1285.  * @default 60
  1286.  *
  1287.  * @param Custom 24 Flash
  1288.  * @desc The flash of the Custom 24 text.
  1289.  * Use the format: red, green, blue, intensity, duration
  1290.  * @default 0, 0, 0, 0, 0
  1291.  *
  1292.  * @param == Custom 25 ==
  1293.  * @default
  1294.  *
  1295.  * @param Custom 25 Condition
  1296.  * @desc If this condition is true, an Custom popup will appear.
  1297.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1298.  * @default false
  1299.  *
  1300.  * @param Custom 25 Text
  1301.  * @desc The text that appears when a Custom 25 occurs.
  1302.  * @default
  1303.  *
  1304.  * @param Custom 25 Location
  1305.  * @desc The initial location of the text for Custom 25.
  1306.  * Use the format: X Position, Y Position
  1307.  * @default 24, -48
  1308.  *
  1309.  * @param Custom 25 Colors
  1310.  * @desc The color of the text for Custom 25.
  1311.  * Use the format: Base Color | Outline Color
  1312.  * @default #FFFFFF | #000000
  1313.  *
  1314.  * @param Custom 25 Animations
  1315.  * @desc The animations used for the Custom 25 text.
  1316.  * Check the HELP for a list of choices.
  1317.  * @default float
  1318.  *
  1319.  * @param Custom 25 Duration
  1320.  * @desc The duration of the Custom 25 text.
  1321.  * Input a positive number.
  1322.  * @default 60
  1323.  *
  1324.  * @param Custom 25 Flash
  1325.  * @desc The flash of the Custom 25 text.
  1326.  * Use the format: red, green, blue, intensity, duration
  1327.  * @default 0, 0, 0, 0, 0
  1328.  *
  1329.  * @param == Custom 26 ==
  1330.  * @default
  1331.  *
  1332.  * @param Custom 26 Condition
  1333.  * @desc If this condition is true, an Custom popup will appear.
  1334.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1335.  * @default false
  1336.  *
  1337.  * @param Custom 26 Text
  1338.  * @desc The text that appears when a Custom 26 occurs.
  1339.  * @default
  1340.  *
  1341.  * @param Custom 26 Location
  1342.  * @desc The initial location of the text for Custom 26.
  1343.  * Use the format: X Position, Y Position
  1344.  * @default 24, -48
  1345.  *
  1346.  * @param Custom 26 Colors
  1347.  * @desc The color of the text for Custom 26.
  1348.  * Use the format: Base Color | Outline Color
  1349.  * @default #FFFFFF | #000000
  1350.  *
  1351.  * @param Custom 26 Animations
  1352.  * @desc The animations used for the Custom 26 text.
  1353.  * Check the HELP for a list of choices.
  1354.  * @default float
  1355.  *
  1356.  * @param Custom 26 Duration
  1357.  * @desc The duration of the Custom 26 text.
  1358.  * Input a positive number.
  1359.  * @default 60
  1360.  *
  1361.  * @param Custom 26 Flash
  1362.  * @desc The flash of the Custom 26 text.
  1363.  * Use the format: red, green, blue, intensity, duration
  1364.  * @default 0, 0, 0, 0, 0
  1365.  *
  1366.  * @param == Custom 27 ==
  1367.  * @default
  1368.  *
  1369.  * @param Custom 27 Condition
  1370.  * @desc If this condition is true, an Custom popup will appear.
  1371.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1372.  * @default false
  1373.  *
  1374.  * @param Custom 27 Text
  1375.  * @desc The text that appears when a Custom 27 occurs.
  1376.  * @default
  1377.  *
  1378.  * @param Custom 27 Location
  1379.  * @desc The initial location of the text for Custom 27.
  1380.  * Use the format: X Position, Y Position
  1381.  * @default 24, -48
  1382.  *
  1383.  * @param Custom 27 Colors
  1384.  * @desc The color of the text for Custom 27.
  1385.  * Use the format: Base Color | Outline Color
  1386.  * @default #FFFFFF | #000000
  1387.  *
  1388.  * @param Custom 27 Animations
  1389.  * @desc The animations used for the Custom 27 text.
  1390.  * Check the HELP for a list of choices.
  1391.  * @default float
  1392.  *
  1393.  * @param Custom 27 Duration
  1394.  * @desc The duration of the Custom 27 text.
  1395.  * Input a positive number.
  1396.  * @default 60
  1397.  *
  1398.  * @param Custom 27 Flash
  1399.  * @desc The flash of the Custom 27 text.
  1400.  * Use the format: red, green, blue, intensity, duration
  1401.  * @default 0, 0, 0, 0, 0
  1402.  *
  1403.  * @param == Custom 28 ==
  1404.  * @default
  1405.  *
  1406.  * @param Custom 28 Condition
  1407.  * @desc If this condition is true, an Custom popup will appear.
  1408.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1409.  * @default false
  1410.  *
  1411.  * @param Custom 28 Text
  1412.  * @desc The text that appears when a Custom 28 occurs.
  1413.  * @default
  1414.  *
  1415.  * @param Custom 28 Location
  1416.  * @desc The initial location of the text for Custom 28.
  1417.  * Use the format: X Position, Y Position
  1418.  * @default 24, -48
  1419.  *
  1420.  * @param Custom 28 Colors
  1421.  * @desc The color of the text for Custom 28.
  1422.  * Use the format: Base Color | Outline Color
  1423.  * @default #FFFFFF | #000000
  1424.  *
  1425.  * @param Custom 28 Animations
  1426.  * @desc The animations used for the Custom 28 text.
  1427.  * Check the HELP for a list of choices.
  1428.  * @default float
  1429.  *
  1430.  * @param Custom 28 Duration
  1431.  * @desc The duration of the Custom 28 text.
  1432.  * Input a positive number.
  1433.  * @default 60
  1434.  *
  1435.  * @param Custom 28 Flash
  1436.  * @desc The flash of the Custom 28 text.
  1437.  * Use the format: red, green, blue, intensity, duration
  1438.  * @default 0, 0, 0, 0, 0
  1439.  *
  1440.  * @param == Custom 29 ==
  1441.  * @default
  1442.  *
  1443.  * @param Custom 29 Condition
  1444.  * @desc If this condition is true, an Custom popup will appear.
  1445.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1446.  * @default false
  1447.  *
  1448.  * @param Custom 29 Text
  1449.  * @desc The text that appears when a Custom 29 occurs.
  1450.  * @default
  1451.  *
  1452.  * @param Custom 29 Location
  1453.  * @desc The initial location of the text for Custom 29.
  1454.  * Use the format: X Position, Y Position
  1455.  * @default 24, -48
  1456.  *
  1457.  * @param Custom 29 Colors
  1458.  * @desc The color of the text for Custom 29.
  1459.  * Use the format: Base Color | Outline Color
  1460.  * @default #FFFFFF | #000000
  1461.  *
  1462.  * @param Custom 29 Animations
  1463.  * @desc The animations used for the Custom 29 text.
  1464.  * Check the HELP for a list of choices.
  1465.  * @default float
  1466.  *
  1467.  * @param Custom 29 Duration
  1468.  * @desc The duration of the Custom 29 text.
  1469.  * Input a positive number.
  1470.  * @default 60
  1471.  *
  1472.  * @param Custom 29 Flash
  1473.  * @desc The flash of the Custom 29 text.
  1474.  * Use the format: red, green, blue, intensity, duration
  1475.  * @default 0, 0, 0, 0, 0
  1476.  *
  1477.  * @param == Custom 30 ==
  1478.  * @default
  1479.  *
  1480.  * @param Custom 30 Condition
  1481.  * @desc If this condition is true, an Custom popup will appear.
  1482.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1483.  * @default false
  1484.  *
  1485.  * @param Custom 30 Text
  1486.  * @desc The text that appears when a Custom 30 occurs.
  1487.  * @default
  1488.  *
  1489.  * @param Custom 30 Location
  1490.  * @desc The initial location of the text for Custom 30.
  1491.  * Use the format: X Position, Y Position
  1492.  * @default 24, -48
  1493.  *
  1494.  * @param Custom 30 Colors
  1495.  * @desc The color of the text for Custom 30.
  1496.  * Use the format: Base Color | Outline Color
  1497.  * @default #FFFFFF | #000000
  1498.  *
  1499.  * @param Custom 30 Animations
  1500.  * @desc The animations used for the Custom 30 text.
  1501.  * Check the HELP for a list of choices.
  1502.  * @default float
  1503.  *
  1504.  * @param Custom 30 Duration
  1505.  * @desc The duration of the Custom 30 text.
  1506.  * Input a positive number.
  1507.  * @default 60
  1508.  *
  1509.  * @param Custom 30 Flash
  1510.  * @desc The flash of the Custom 30 text.
  1511.  * Use the format: red, green, blue, intensity, duration
  1512.  * @default 0, 0, 0, 0, 0
  1513.  *
  1514.  * @param == Custom 31 ==
  1515.  * @default
  1516.  *
  1517.  * @param Custom 31 Condition
  1518.  * @desc If this condition is true, an Custom popup will appear.
  1519.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1520.  * @default false
  1521.  *
  1522.  * @param Custom 31 Text
  1523.  * @desc The text that appears when a Custom 31 occurs.
  1524.  * @default
  1525.  *
  1526.  * @param Custom 31 Location
  1527.  * @desc The initial location of the text for Custom 31.
  1528.  * Use the format: X Position, Y Position
  1529.  * @default 24, -48
  1530.  *
  1531.  * @param Custom 31 Colors
  1532.  * @desc The color of the text for Custom 31.
  1533.  * Use the format: Base Color | Outline Color
  1534.  * @default #FFFFFF | #000000
  1535.  *
  1536.  * @param Custom 31 Animations
  1537.  * @desc The animations used for the Custom 31 text.
  1538.  * Check the HELP for a list of choices.
  1539.  * @default float
  1540.  *
  1541.  * @param Custom 31 Duration
  1542.  * @desc The duration of the Custom 31 text.
  1543.  * Input a positive number.
  1544.  * @default 60
  1545.  *
  1546.  * @param Custom 31 Flash
  1547.  * @desc The flash of the Custom 31 text.
  1548.  * Use the format: red, green, blue, intensity, duration
  1549.  * @default 0, 0, 0, 0, 0
  1550.  *
  1551.  * @param == Custom 32 ==
  1552.  * @default
  1553.  *
  1554.  * @param Custom 32 Condition
  1555.  * @desc If this condition is true, an Custom popup will appear.
  1556.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1557.  * @default false
  1558.  *
  1559.  * @param Custom 32 Text
  1560.  * @desc The text that appears when a Custom 32 occurs.
  1561.  * @default
  1562.  *
  1563.  * @param Custom 32 Location
  1564.  * @desc The initial location of the text for Custom 32.
  1565.  * Use the format: X Position, Y Position
  1566.  * @default 24, -48
  1567.  *
  1568.  * @param Custom 32 Colors
  1569.  * @desc The color of the text for Custom 32.
  1570.  * Use the format: Base Color | Outline Color
  1571.  * @default #FFFFFF | #000000
  1572.  *
  1573.  * @param Custom 32 Animations
  1574.  * @desc The animations used for the Custom 32 text.
  1575.  * Check the HELP for a list of choices.
  1576.  * @default float
  1577.  *
  1578.  * @param Custom 32 Duration
  1579.  * @desc The duration of the Custom 32 text.
  1580.  * Input a positive number.
  1581.  * @default 60
  1582.  *
  1583.  * @param Custom 32 Flash
  1584.  * @desc The flash of the Custom 32 text.
  1585.  * Use the format: red, green, blue, intensity, duration
  1586.  * @default 0, 0, 0, 0, 0
  1587.  *
  1588.  * @param == Custom 33 ==
  1589.  * @default
  1590.  *
  1591.  * @param Custom 33 Condition
  1592.  * @desc If this condition is true, an Custom popup will appear.
  1593.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1594.  * @default false
  1595.  *
  1596.  * @param Custom 33 Text
  1597.  * @desc The text that appears when a Custom 33 occurs.
  1598.  * @default
  1599.  *
  1600.  * @param Custom 33 Location
  1601.  * @desc The initial location of the text for Custom 33.
  1602.  * Use the format: X Position, Y Position
  1603.  * @default 24, -48
  1604.  *
  1605.  * @param Custom 33 Colors
  1606.  * @desc The color of the text for Custom 33.
  1607.  * Use the format: Base Color | Outline Color
  1608.  * @default #FFFFFF | #000000
  1609.  *
  1610.  * @param Custom 33 Animations
  1611.  * @desc The animations used for the Custom 33 text.
  1612.  * Check the HELP for a list of choices.
  1613.  * @default float
  1614.  *
  1615.  * @param Custom 33 Duration
  1616.  * @desc The duration of the Custom 33 text.
  1617.  * Input a positive number.
  1618.  * @default 60
  1619.  *
  1620.  * @param Custom 33 Flash
  1621.  * @desc The flash of the Custom 33 text.
  1622.  * Use the format: red, green, blue, intensity, duration
  1623.  * @default 0, 0, 0, 0, 0
  1624.  *
  1625.  * @param == Custom 34 ==
  1626.  * @default
  1627.  *
  1628.  * @param Custom 34 Condition
  1629.  * @desc If this condition is true, an Custom popup will appear.
  1630.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1631.  * @default false
  1632.  *
  1633.  * @param Custom 34 Text
  1634.  * @desc The text that appears when a Custom 34 occurs.
  1635.  * @default
  1636.  *
  1637.  * @param Custom 34 Location
  1638.  * @desc The initial location of the text for Custom 34.
  1639.  * Use the format: X Position, Y Position
  1640.  * @default 24, -48
  1641.  *
  1642.  * @param Custom 34 Colors
  1643.  * @desc The color of the text for Custom 34.
  1644.  * Use the format: Base Color | Outline Color
  1645.  * @default #FFFFFF | #000000
  1646.  *
  1647.  * @param Custom 34 Animations
  1648.  * @desc The animations used for the Custom 34 text.
  1649.  * Check the HELP for a list of choices.
  1650.  * @default float
  1651.  *
  1652.  * @param Custom 34 Duration
  1653.  * @desc The duration of the Custom 34 text.
  1654.  * Input a positive number.
  1655.  * @default 60
  1656.  *
  1657.  * @param Custom 34 Flash
  1658.  * @desc The flash of the Custom 34 text.
  1659.  * Use the format: red, green, blue, intensity, duration
  1660.  * @default 0, 0, 0, 0, 0
  1661.  *
  1662.  * @param == Custom 35 ==
  1663.  * @default
  1664.  *
  1665.  * @param Custom 35 Condition
  1666.  * @desc If this condition is true, an Custom popup will appear.
  1667.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1668.  * @default false
  1669.  *
  1670.  * @param Custom 35 Text
  1671.  * @desc The text that appears when a Custom 35 occurs.
  1672.  * @default
  1673.  *
  1674.  * @param Custom 35 Location
  1675.  * @desc The initial location of the text for Custom 35.
  1676.  * Use the format: X Position, Y Position
  1677.  * @default 24, -48
  1678.  *
  1679.  * @param Custom 35 Colors
  1680.  * @desc The color of the text for Custom 35.
  1681.  * Use the format: Base Color | Outline Color
  1682.  * @default #FFFFFF | #000000
  1683.  *
  1684.  * @param Custom 35 Animations
  1685.  * @desc The animations used for the Custom 35 text.
  1686.  * Check the HELP for a list of choices.
  1687.  * @default float
  1688.  *
  1689.  * @param Custom 35 Duration
  1690.  * @desc The duration of the Custom 35 text.
  1691.  * Input a positive number.
  1692.  * @default 60
  1693.  *
  1694.  * @param Custom 35 Flash
  1695.  * @desc The flash of the Custom 35 text.
  1696.  * Use the format: red, green, blue, intensity, duration
  1697.  * @default 0, 0, 0, 0, 0
  1698.  *
  1699.  * @param == Custom 36 ==
  1700.  * @default
  1701.  *
  1702.  * @param Custom 36 Condition
  1703.  * @desc If this condition is true, an Custom popup will appear.
  1704.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1705.  * @default false
  1706.  *
  1707.  * @param Custom 36 Text
  1708.  * @desc The text that appears when a Custom 36 occurs.
  1709.  * @default
  1710.  *
  1711.  * @param Custom 36 Location
  1712.  * @desc The initial location of the text for Custom 36.
  1713.  * Use the format: X Position, Y Position
  1714.  * @default 24, -48
  1715.  *
  1716.  * @param Custom 36 Colors
  1717.  * @desc The color of the text for Custom 36.
  1718.  * Use the format: Base Color | Outline Color
  1719.  * @default #FFFFFF | #000000
  1720.  *
  1721.  * @param Custom 36 Animations
  1722.  * @desc The animations used for the Custom 36 text.
  1723.  * Check the HELP for a list of choices.
  1724.  * @default float
  1725.  *
  1726.  * @param Custom 36 Duration
  1727.  * @desc The duration of the Custom 36 text.
  1728.  * Input a positive number.
  1729.  * @default 60
  1730.  *
  1731.  * @param Custom 36 Flash
  1732.  * @desc The flash of the Custom 36 text.
  1733.  * Use the format: red, green, blue, intensity, duration
  1734.  * @default 0, 0, 0, 0, 0
  1735.  *
  1736.  * @param == Custom 37 ==
  1737.  * @default
  1738.  *
  1739.  * @param Custom 37 Condition
  1740.  * @desc If this condition is true, an Custom popup will appear.
  1741.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1742.  * @default false
  1743.  *
  1744.  * @param Custom 37 Text
  1745.  * @desc The text that appears when a Custom 37 occurs.
  1746.  * @default
  1747.  *
  1748.  * @param Custom 37 Location
  1749.  * @desc The initial location of the text for Custom 37.
  1750.  * Use the format: X Position, Y Position
  1751.  * @default 24, -48
  1752.  *
  1753.  * @param Custom 37 Colors
  1754.  * @desc The color of the text for Custom 37.
  1755.  * Use the format: Base Color | Outline Color
  1756.  * @default #FFFFFF | #000000
  1757.  *
  1758.  * @param Custom 37 Animations
  1759.  * @desc The animations used for the Custom 37 text.
  1760.  * Check the HELP for a list of choices.
  1761.  * @default float
  1762.  *
  1763.  * @param Custom 37 Duration
  1764.  * @desc The duration of the Custom 37 text.
  1765.  * Input a positive number.
  1766.  * @default 60
  1767.  *
  1768.  * @param Custom 37 Flash
  1769.  * @desc The flash of the Custom 37 text.
  1770.  * Use the format: red, green, blue, intensity, duration
  1771.  * @default 0, 0, 0, 0, 0
  1772.  *
  1773.  * @param == Custom 38 ==
  1774.  * @default
  1775.  *
  1776.  * @param Custom 38 Condition
  1777.  * @desc If this condition is true, an Custom popup will appear.
  1778.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1779.  * @default false
  1780.  *
  1781.  * @param Custom 38 Text
  1782.  * @desc The text that appears when a Custom 38 occurs.
  1783.  * @default
  1784.  *
  1785.  * @param Custom 38 Location
  1786.  * @desc The initial location of the text for Custom 38.
  1787.  * Use the format: X Position, Y Position
  1788.  * @default 24, -48
  1789.  *
  1790.  * @param Custom 38 Colors
  1791.  * @desc The color of the text for Custom 38.
  1792.  * Use the format: Base Color | Outline Color
  1793.  * @default #FFFFFF | #000000
  1794.  *
  1795.  * @param Custom 38 Animations
  1796.  * @desc The animations used for the Custom 38 text.
  1797.  * Check the HELP for a list of choices.
  1798.  * @default float
  1799.  *
  1800.  * @param Custom 38 Duration
  1801.  * @desc The duration of the Custom 38 text.
  1802.  * Input a positive number.
  1803.  * @default 60
  1804.  *
  1805.  * @param Custom 38 Flash
  1806.  * @desc The flash of the Custom 38 text.
  1807.  * Use the format: red, green, blue, intensity, duration
  1808.  * @default 0, 0, 0, 0, 0
  1809.  *
  1810.  * @param == Custom 39 ==
  1811.  * @default
  1812.  *
  1813.  * @param Custom 39 Condition
  1814.  * @desc If this condition is true, an Custom popup will appear.
  1815.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1816.  * @default false
  1817.  *
  1818.  * @param Custom 39 Text
  1819.  * @desc The text that appears when a Custom 39 occurs.
  1820.  * @default
  1821.  *
  1822.  * @param Custom 39 Location
  1823.  * @desc The initial location of the text for Custom 39.
  1824.  * Use the format: X Position, Y Position
  1825.  * @default 24, -48
  1826.  *
  1827.  * @param Custom 39 Colors
  1828.  * @desc The color of the text for Custom 39.
  1829.  * Use the format: Base Color | Outline Color
  1830.  * @default #FFFFFF | #000000
  1831.  *
  1832.  * @param Custom 39 Animations
  1833.  * @desc The animations used for the Custom 39 text.
  1834.  * Check the HELP for a list of choices.
  1835.  * @default float
  1836.  *
  1837.  * @param Custom 39 Duration
  1838.  * @desc The duration of the Custom 39 text.
  1839.  * Input a positive number.
  1840.  * @default 60
  1841.  *
  1842.  * @param Custom 39 Flash
  1843.  * @desc The flash of the Custom 39 text.
  1844.  * Use the format: red, green, blue, intensity, duration
  1845.  * @default 0, 0, 0, 0, 0
  1846.  *
  1847.  * @param == Custom 40 ==
  1848.  * @default
  1849.  *
  1850.  * @param Custom 40 Condition
  1851.  * @desc If this condition is true, an Custom popup will appear.
  1852.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1853.  * @default false
  1854.  *
  1855.  * @param Custom 40 Text
  1856.  * @desc The text that appears when a Custom 40 occurs.
  1857.  * @default
  1858.  *
  1859.  * @param Custom 40 Location
  1860.  * @desc The initial location of the text for Custom 40.
  1861.  * Use the format: X Position, Y Position
  1862.  * @default 24, -48
  1863.  *
  1864.  * @param Custom 40 Colors
  1865.  * @desc The color of the text for Custom 40.
  1866.  * Use the format: Base Color | Outline Color
  1867.  * @default #FFFFFF | #000000
  1868.  *
  1869.  * @param Custom 40 Animations
  1870.  * @desc The animations used for the Custom 40 text.
  1871.  * Check the HELP for a list of choices.
  1872.  * @default float
  1873.  *
  1874.  * @param Custom 40 Duration
  1875.  * @desc The duration of the Custom 40 text.
  1876.  * Input a positive number.
  1877.  * @default 60
  1878.  *
  1879.  * @param Custom 40 Flash
  1880.  * @desc The flash of the Custom 40 text.
  1881.  * Use the format: red, green, blue, intensity, duration
  1882.  * @default 0, 0, 0, 0, 0
  1883.  *
  1884.  * @param == Custom 41 ==
  1885.  * @default
  1886.  *
  1887.  * @param Custom 41 Condition
  1888.  * @desc If this condition is true, an Custom popup will appear.
  1889.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1890.  * @default false
  1891.  *
  1892.  * @param Custom 41 Text
  1893.  * @desc The text that appears when a Custom 41 occurs.
  1894.  * @default
  1895.  *
  1896.  * @param Custom 41 Location
  1897.  * @desc The initial location of the text for Custom 41.
  1898.  * Use the format: X Position, Y Position
  1899.  * @default 24, -48
  1900.  *
  1901.  * @param Custom 41 Colors
  1902.  * @desc The color of the text for Custom 41.
  1903.  * Use the format: Base Color | Outline Color
  1904.  * @default #FFFFFF | #000000
  1905.  *
  1906.  * @param Custom 41 Animations
  1907.  * @desc The animations used for the Custom 41 text.
  1908.  * Check the HELP for a list of choices.
  1909.  * @default float
  1910.  *
  1911.  * @param Custom 41 Duration
  1912.  * @desc The duration of the Custom 41 text.
  1913.  * Input a positive number.
  1914.  * @default 60
  1915.  *
  1916.  * @param Custom 41 Flash
  1917.  * @desc The flash of the Custom 41 text.
  1918.  * Use the format: red, green, blue, intensity, duration
  1919.  * @default 0, 0, 0, 0, 0
  1920.  *
  1921.  * @param == Custom 42 ==
  1922.  * @default
  1923.  *
  1924.  * @param Custom 42 Condition
  1925.  * @desc If this condition is true, an Custom popup will appear.
  1926.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1927.  * @default false
  1928.  *
  1929.  * @param Custom 42 Text
  1930.  * @desc The text that appears when a Custom 42 occurs.
  1931.  * @default
  1932.  *
  1933.  * @param Custom 42 Location
  1934.  * @desc The initial location of the text for Custom 42.
  1935.  * Use the format: X Position, Y Position
  1936.  * @default 24, -48
  1937.  *
  1938.  * @param Custom 42 Colors
  1939.  * @desc The color of the text for Custom 42.
  1940.  * Use the format: Base Color | Outline Color
  1941.  * @default #FFFFFF | #000000
  1942.  *
  1943.  * @param Custom 42 Animations
  1944.  * @desc The animations used for the Custom 42 text.
  1945.  * Check the HELP for a list of choices.
  1946.  * @default float
  1947.  *
  1948.  * @param Custom 42 Duration
  1949.  * @desc The duration of the Custom 42 text.
  1950.  * Input a positive number.
  1951.  * @default 60
  1952.  *
  1953.  * @param Custom 42 Flash
  1954.  * @desc The flash of the Custom 42 text.
  1955.  * Use the format: red, green, blue, intensity, duration
  1956.  * @default 0, 0, 0, 0, 0
  1957.  *
  1958.  * @param == Custom 43 ==
  1959.  * @default
  1960.  *
  1961.  * @param Custom 43 Condition
  1962.  * @desc If this condition is true, an Custom popup will appear.
  1963.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  1964.  * @default false
  1965.  *
  1966.  * @param Custom 43 Text
  1967.  * @desc The text that appears when a Custom 43 occurs.
  1968.  * @default
  1969.  *
  1970.  * @param Custom 43 Location
  1971.  * @desc The initial location of the text for Custom 43.
  1972.  * Use the format: X Position, Y Position
  1973.  * @default 24, -48
  1974.  *
  1975.  * @param Custom 43 Colors
  1976.  * @desc The color of the text for Custom 43.
  1977.  * Use the format: Base Color | Outline Color
  1978.  * @default #FFFFFF | #000000
  1979.  *
  1980.  * @param Custom 43 Animations
  1981.  * @desc The animations used for the Custom 43 text.
  1982.  * Check the HELP for a list of choices.
  1983.  * @default float
  1984.  *
  1985.  * @param Custom 43 Duration
  1986.  * @desc The duration of the Custom 43 text.
  1987.  * Input a positive number.
  1988.  * @default 60
  1989.  *
  1990.  * @param Custom 43 Flash
  1991.  * @desc The flash of the Custom 43 text.
  1992.  * Use the format: red, green, blue, intensity, duration
  1993.  * @default 0, 0, 0, 0, 0
  1994.  *
  1995.  * @param == Custom 44 ==
  1996.  * @default
  1997.  *
  1998.  * @param Custom 44 Condition
  1999.  * @desc If this condition is true, an Custom popup will appear.
  2000.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  2001.  * @default false
  2002.  *
  2003.  * @param Custom 44 Text
  2004.  * @desc The text that appears when a Custom 44 occurs.
  2005.  * @default
  2006.  *
  2007.  * @param Custom 44 Location
  2008.  * @desc The initial location of the text for Custom 44.
  2009.  * Use the format: X Position, Y Position
  2010.  * @default 24, -48
  2011.  *
  2012.  * @param Custom 44 Colors
  2013.  * @desc The color of the text for Custom 44.
  2014.  * Use the format: Base Color | Outline Color
  2015.  * @default #FFFFFF | #000000
  2016.  *
  2017.  * @param Custom 44 Animations
  2018.  * @desc The animations used for the Custom 44 text.
  2019.  * Check the HELP for a list of choices.
  2020.  * @default float
  2021.  *
  2022.  * @param Custom 44 Duration
  2023.  * @desc The duration of the Custom 44 text.
  2024.  * Input a positive number.
  2025.  * @default 60
  2026.  *
  2027.  * @param Custom 44 Flash
  2028.  * @desc The flash of the Custom 44 text.
  2029.  * Use the format: red, green, blue, intensity, duration
  2030.  * @default 0, 0, 0, 0, 0
  2031.  *
  2032.  * @param == Custom 45 ==
  2033.  * @default
  2034.  *
  2035.  * @param Custom 45 Condition
  2036.  * @desc If this condition is true, an Custom popup will appear.
  2037.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  2038.  * @default false
  2039.  *
  2040.  * @param Custom 45 Text
  2041.  * @desc The text that appears when a Custom 45 occurs.
  2042.  * @default
  2043.  *
  2044.  * @param Custom 45 Location
  2045.  * @desc The initial location of the text for Custom 45.
  2046.  * Use the format: X Position, Y Position
  2047.  * @default 24, -48
  2048.  *
  2049.  * @param Custom 45 Colors
  2050.  * @desc The color of the text for Custom 45.
  2051.  * Use the format: Base Color | Outline Color
  2052.  * @default #FFFFFF | #000000
  2053.  *
  2054.  * @param Custom 45 Animations
  2055.  * @desc The animations used for the Custom 45 text.
  2056.  * Check the HELP for a list of choices.
  2057.  * @default float
  2058.  *
  2059.  * @param Custom 45 Duration
  2060.  * @desc The duration of the Custom 45 text.
  2061.  * Input a positive number.
  2062.  * @default 60
  2063.  *
  2064.  * @param Custom 45 Flash
  2065.  * @desc The flash of the Custom 45 text.
  2066.  * Use the format: red, green, blue, intensity, duration
  2067.  * @default 0, 0, 0, 0, 0
  2068.  *
  2069.  * @param == Custom 46 ==
  2070.  * @default
  2071.  *
  2072.  * @param Custom 46 Condition
  2073.  * @desc If this condition is true, an Custom popup will appear.
  2074.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  2075.  * @default false
  2076.  *
  2077.  * @param Custom 46 Text
  2078.  * @desc The text that appears when a Custom 46 occurs.
  2079.  * @default
  2080.  *
  2081.  * @param Custom 46 Location
  2082.  * @desc The initial location of the text for Custom 46.
  2083.  * Use the format: X Position, Y Position
  2084.  * @default 24, -48
  2085.  *
  2086.  * @param Custom 46 Colors
  2087.  * @desc The color of the text for Custom 46.
  2088.  * Use the format: Base Color | Outline Color
  2089.  * @default #FFFFFF | #000000
  2090.  *
  2091.  * @param Custom 46 Animations
  2092.  * @desc The animations used for the Custom 46 text.
  2093.  * Check the HELP for a list of choices.
  2094.  * @default float
  2095.  *
  2096.  * @param Custom 46 Duration
  2097.  * @desc The duration of the Custom 46 text.
  2098.  * Input a positive number.
  2099.  * @default 60
  2100.  *
  2101.  * @param Custom 46 Flash
  2102.  * @desc The flash of the Custom 46 text.
  2103.  * Use the format: red, green, blue, intensity, duration
  2104.  * @default 0, 0, 0, 0, 0
  2105.  *
  2106.  * @param == Custom 47 ==
  2107.  * @default
  2108.  *
  2109.  * @param Custom 47 Condition
  2110.  * @desc If this condition is true, an Custom popup will appear.
  2111.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  2112.  * @default false
  2113.  *
  2114.  * @param Custom 47 Text
  2115.  * @desc The text that appears when a Custom 47 occurs.
  2116.  * @default
  2117.  *
  2118.  * @param Custom 47 Location
  2119.  * @desc The initial location of the text for Custom 47.
  2120.  * Use the format: X Position, Y Position
  2121.  * @default 24, -48
  2122.  *
  2123.  * @param Custom 47 Colors
  2124.  * @desc The color of the text for Custom 47.
  2125.  * Use the format: Base Color | Outline Color
  2126.  * @default #FFFFFF | #000000
  2127.  *
  2128.  * @param Custom 47 Animations
  2129.  * @desc The animations used for the Custom 47 text.
  2130.  * Check the HELP for a list of choices.
  2131.  * @default float
  2132.  *
  2133.  * @param Custom 47 Duration
  2134.  * @desc The duration of the Custom 47 text.
  2135.  * Input a positive number.
  2136.  * @default 60
  2137.  *
  2138.  * @param Custom 47 Flash
  2139.  * @desc The flash of the Custom 47 text.
  2140.  * Use the format: red, green, blue, intensity, duration
  2141.  * @default 0, 0, 0, 0, 0
  2142.  *
  2143.  * @param == Custom 48 ==
  2144.  * @default
  2145.  *
  2146.  * @param Custom 48 Condition
  2147.  * @desc If this condition is true, an Custom popup will appear.
  2148.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  2149.  * @default false
  2150.  *
  2151.  * @param Custom 48 Text
  2152.  * @desc The text that appears when a Custom 48 occurs.
  2153.  * @default
  2154.  *
  2155.  * @param Custom 48 Location
  2156.  * @desc The initial location of the text for Custom 48.
  2157.  * Use the format: X Position, Y Position
  2158.  * @default 24, -48
  2159.  *
  2160.  * @param Custom 48 Colors
  2161.  * @desc The color of the text for Custom 48.
  2162.  * Use the format: Base Color | Outline Color
  2163.  * @default #FFFFFF | #000000
  2164.  *
  2165.  * @param Custom 48 Animations
  2166.  * @desc The animations used for the Custom 48 text.
  2167.  * Check the HELP for a list of choices.
  2168.  * @default float
  2169.  *
  2170.  * @param Custom 48 Duration
  2171.  * @desc The duration of the Custom 48 text.
  2172.  * Input a positive number.
  2173.  * @default 60
  2174.  *
  2175.  * @param Custom 48 Flash
  2176.  * @desc The flash of the Custom 48 text.
  2177.  * Use the format: red, green, blue, intensity, duration
  2178.  * @default 0, 0, 0, 0, 0
  2179.  *
  2180.  * @param == Custom 49 ==
  2181.  * @default
  2182.  *
  2183.  * @param Custom 49 Condition
  2184.  * @desc If this condition is true, an Custom popup will appear.
  2185.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  2186.  * @default false
  2187.  *
  2188.  * @param Custom 49 Text
  2189.  * @desc The text that appears when a Custom 49 occurs.
  2190.  * @default
  2191.  *
  2192.  * @param Custom 49 Location
  2193.  * @desc The initial location of the text for Custom 49.
  2194.  * Use the format: X Position, Y Position
  2195.  * @default 24, -48
  2196.  *
  2197.  * @param Custom 49 Colors
  2198.  * @desc The color of the text for Custom 49.
  2199.  * Use the format: Base Color | Outline Color
  2200.  * @default #FFFFFF | #000000
  2201.  *
  2202.  * @param Custom 49 Animations
  2203.  * @desc The animations used for the Custom 49 text.
  2204.  * Check the HELP for a list of choices.
  2205.  * @default float
  2206.  *
  2207.  * @param Custom 49 Duration
  2208.  * @desc The duration of the Custom 49 text.
  2209.  * Input a positive number.
  2210.  * @default 60
  2211.  *
  2212.  * @param Custom 49 Flash
  2213.  * @desc The flash of the Custom 49 text.
  2214.  * Use the format: red, green, blue, intensity, duration
  2215.  * @default 0, 0, 0, 0, 0
  2216.  *
  2217.  * @param == Custom 50 ==
  2218.  * @default
  2219.  *
  2220.  * @param Custom 50 Condition
  2221.  * @desc If this condition is true, an Custom popup will appear.
  2222.  * Input a JavaScript eval; "result" is a Game_ActionResult.
  2223.  * @default false
  2224.  *
  2225.  * @param Custom 50 Text
  2226.  * @desc The text that appears when a Custom 50 occurs.
  2227.  * @default
  2228.  *
  2229.  * @param Custom 50 Location
  2230.  * @desc The initial location of the text for Custom 50.
  2231.  * Use the format: X Position, Y Position
  2232.  * @default 24, -48
  2233.  *
  2234.  * @param Custom 50 Colors
  2235.  * @desc The color of the text for Custom 50.
  2236.  * Use the format: Base Color | Outline Color
  2237.  * @default #FFFFFF | #000000
  2238.  *
  2239.  * @param Custom 50 Animations
  2240.  * @desc The animations used for the Custom 50 text.
  2241.  * Check the HELP for a list of choices.
  2242.  * @default float
  2243.  *
  2244.  * @param Custom 50 Duration
  2245.  * @desc The duration of the Custom 50 text.
  2246.  * Input a positive number.
  2247.  * @default 60
  2248.  *
  2249.  * @param Custom 50 Flash
  2250.  * @desc The flash of the Custom 50 text.
  2251.  * Use the format: red, green, blue, intensity, duration
  2252.  * @default 0, 0, 0, 0, 0
  2253.  *
  2254.  * @help
  2255.  *
  2256.  * Battle Popup Customizer
  2257.  * Version 1.20
  2258.  * SumRndmDde
  2259.  *
  2260.  *
  2261.  * This plugin adds more options to the Battle Popups!
  2262.  * You have more customization over the attributes of the popups and also
  2263.  * have the ability to add custom popups.
  2264.  *
  2265.  * Furthermore, this plugin changes a lot of the core mechanics of the system,
  2266.  * including the fact that the popup text requires an external file.
  2267.  * Now it just requires you to input the font/colors you wish.
  2268.  *
  2269.  *
  2270.  * ==========================================================================
  2271.  *  Global Options
  2272.  * ==========================================================================
  2273.  *
  2274.  * You can manipulate the various properties of all the popups.
  2275.  *
  2276.  * This includes the font and the font size.
  2277.  * As mentioned before, a font is used instead an image file.
  2278.  *
  2279.  * Furthermore, if there are multiple popups in the same section, you can set
  2280.  * how much the proceeding popups shift on the X and Y axis.
  2281.  *
  2282.  *
  2283.  * ==========================================================================
  2284.  *  Existing Popups
  2285.  * ==========================================================================
  2286.  *
  2287.  * You can manipulate the following existing popups:
  2288.  *
  2289.  * HP Damage
  2290.  * HP Heal
  2291.  * MP Damage
  2292.  * MP Heal
  2293.  * TP Damage
  2294.  * TP Heal
  2295.  * -------------
  2296.  * Miss
  2297.  * Evade
  2298.  * Critical
  2299.  * Guarded
  2300.  *
  2301.  * The first six will be set into one section, and the remaining popups will
  2302.  * fall into their own section. These sections each move the popups so they
  2303.  * don't overlap.
  2304.  *
  2305.  *
  2306.  * ==========================================================================
  2307.  *  Popup Attributes
  2308.  * ==========================================================================
  2309.  *
  2310.  * Here is a list of all the manipulatable attributes:
  2311.  *
  2312.  *
  2313.  *   Condition
  2314.  *
  2315.  * If this JavaScript condition is true, the popup will be used.
  2316.  *
  2317.  * ==========================================================================
  2318.  *
  2319.  *   Text
  2320.  *
  2321.  * The text shown for the popup.
  2322.  *
  2323.  * ==========================================================================
  2324.  *
  2325.  *   Location
  2326.  *
  2327.  * The X and Y coordinates of the popup.
  2328.  * This refers to the initial position of the popup.
  2329.  * Use the format: x, y
  2330.  *
  2331.  * For example: 20, -20
  2332.  *
  2333.  * ==========================================================================
  2334.  *
  2335.  *   Colors
  2336.  *
  2337.  * The colors used by the popup text.
  2338.  * Use the format: mainColor | outlineColor
  2339.  *
  2340.  * For example: #FFFFFF | #000000
  2341.  *
  2342.  * ==========================================================================
  2343.  *
  2344.  *   Animations
  2345.  *
  2346.  * A list of all the animations that affect the popup.
  2347.  * All of the available animations are:
  2348.  *
  2349.  *   default
  2350.  *   horizontal
  2351.  *   float
  2352.  *   fall
  2353.  *   left
  2354.  *   right
  2355.  *   rotation
  2356.  *
  2357.  * You can use one or multiple animations.
  2358.  * Seperate multiple animations with a comma.
  2359.  *
  2360.  * For example: default, rotation
  2361.  *   
  2362.  *
  2363.  * ==========================================================================
  2364.  *
  2365.  *   Duration
  2366.  *
  2367.  * The duration of the popup in frames.
  2368.  *
  2369.  * ==========================================================================
  2370.  *
  2371.  *   Flash
  2372.  *
  2373.  * The flash of the popup.
  2374.  * Use the format: red, green, blue, intensity, duration
  2375.  *
  2376.  * For example: 255, 0, 0, 160, 60
  2377.  *
  2378.  *
  2379.  * ==========================================================================
  2380.  *  End of Help File
  2381.  * ==========================================================================
  2382.  *
  2383.  * Welcome to the bottom of the Help file.
  2384.  *
  2385.  *
  2386.  * Thanks for reading!
  2387.  * If you have questions, or if you enjoyed this Plugin, please check
  2388.  * out my YouTube channel!
  2389.  *
  2390.  * [url]https://www.youtube.com/c/SumRndmDde[/url]
  2391.  *
  2392.  *
  2393.  * Until next time,
  2394.  *   ~ SumRndmDde
  2395.  *
  2396.  */
  2397.  
  2398. var SRD = SRD || {};
  2399. SRD.BattlePopupCustomizer = SRD.BattlePopupCustomizer || {};
  2400.  
  2401. var Imported = Imported || {};
  2402. Imported["SumRndmDde Battle Popup Customizer"] = 1.20;
  2403.  
  2404. (function(_) {
  2405.  
  2406. "use strict";
  2407.  
  2408. //-----------------------------------------------------------------------------
  2409. // SRD.BattlePopupCustomizer
  2410. //-----------------------------------------------------------------------------
  2411.  
  2412. var params = PluginManager.parameters('SRD_BattlePopupCustomizer');
  2413.  
  2414. _.font = String(params['Font']);
  2415. _.size = parseInt(params['Font Size']);
  2416. _.xShift = parseFloat(params['X Shift']);
  2417. _.yShift = parseFloat(params['Y Shift']);
  2418. _.condition = String(params['Global Condition']);
  2419.  
  2420. _.popups = [];
  2421. _.prefixes = ['HP Damage', 'HP Heal', 'MP Damage', 'MP Heal', 'TP Damage', 'TP Heal', 'Miss', 'Evade', 'Critical', 'Guarded'];
  2422. for(var i = 0; i < _.prefixes.length; i++) {
  2423.         _.popups[i] = {};
  2424.         var location = String(params[_.prefixes[i] + ' Location']).split(/\s*,\s*/);
  2425.         var colors = String(params[_.prefixes[i] + ' Colors']).split(/\s*\|\s*/);
  2426.         var flash = String(params[_.prefixes[i] + ' Flash']).split(/\s*,\s*/);
  2427.         _.popups[i].x = String(location[0]);
  2428.         _.popups[i].y = String(location[1]);
  2429.         _.popups[i].color = String(colors[0]);
  2430.         _.popups[i].outline = String(colors[1]);
  2431.         _.popups[i].text = String(params[_.prefixes[i] + ' Text']);
  2432.         _.popups[i].condition = String(params[_.prefixes[i] + ' Condition']);
  2433.         _.popups[i].duration = parseInt(params[_.prefixes[i] + ' Duration']);
  2434.         _.popups[i].animations = String(params[_.prefixes[i] + ' Animations']).split(/\s*,\s*/);
  2435.         _.popups[i].flashColor = [parseInt(flash[0]), parseInt(flash[1]), parseInt(flash[2]), parseInt(flash[3])];
  2436.         _.popups[i].flashDuration = parseInt(flash[4]);
  2437. }
  2438.  
  2439. _.customPops = [];
  2440. for(var i = 1; i <= 50; i++) {
  2441.         var condition = String(params['Custom ' + i + ' Condition']).trim();
  2442.         if(condition != 'false') {
  2443.                 _.customPops[i] = {};
  2444.                 var location = String(params['Custom ' + i + ' Location']).split(/\s*,\s*/);
  2445.                 var colors = String(params['Custom ' + i + ' Colors']).split(/\s*\|\s*/);
  2446.                 var flash = String(params['Custom ' + i + ' Flash']).split(/\s*,\s*/);
  2447.                 _.customPops[i].x = String(location[0]);
  2448.                 _.customPops[i].y = String(location[1]);
  2449.                 _.customPops[i].color = String(colors[0]);
  2450.                 _.customPops[i].outline = String(colors[1]);
  2451.                 _.customPops[i].text = String(params['Custom ' + i + ' Text']);
  2452.                 _.customPops[i].condition = condition;
  2453.                 _.customPops[i].duration = parseInt(params['Custom ' + i + ' Duration']);
  2454.                 _.customPops[i].animations = String(params['Custom ' + i + ' Animations']).split(/\s*,\s*/);
  2455.                 _.customPops[i].flashColor = [parseInt(flash[0]), parseInt(flash[1]), parseInt(flash[2]), parseInt(flash[3])];
  2456.                 _.customPops[i].flashDuration = parseInt(flash[4]);
  2457.         }
  2458. }
  2459.  
  2460. //-----------------------------------------------------------------------------
  2461. // Game_Action
  2462. //-----------------------------------------------------------------------------
  2463.  
  2464. if(Imported.YEP_BattleEngineCore) {
  2465.  
  2466. Game_Battler.prototype.startDamagePopup = function() {
  2467.         var result = this.result();
  2468.         this._damagePopup.push(result);
  2469. };
  2470.  
  2471. }
  2472.  
  2473. //-----------------------------------------------------------------------------
  2474. // Game_Action
  2475. //-----------------------------------------------------------------------------
  2476.  
  2477. var _Game_Action_applyGuard = Game_Action.prototype.applyGuard;
  2478. Game_Action.prototype.applyGuard = function(damage, target) {
  2479.         var newDamage = _Game_Action_applyGuard.apply(this, arguments);
  2480.         if(newDamage != damage) {
  2481.                 target.result().guarded = true;
  2482.         }
  2483.         return newDamage;
  2484. };
  2485.  
  2486. var _Game_Action_calcElementRate = Game_Action.prototype.calcElementRate;
  2487. Game_Action.prototype.calcElementRate = function(target) {
  2488.         var rate = _Game_Action_calcElementRate.apply(this, arguments);
  2489.         target.result().elementRate = rate;
  2490.         return rate;
  2491. };
  2492.  
  2493. //-----------------------------------------------------------------------------
  2494. // Game_ActionResult
  2495. //-----------------------------------------------------------------------------
  2496.  
  2497. var _Game_ActionResult_clear = Game_ActionResult.prototype.clear;
  2498. Game_ActionResult.prototype.clear = function() {
  2499.         _Game_ActionResult_clear.apply(this, arguments);
  2500.         this.guarded = false;
  2501.         this.elementRate = 1;
  2502. };
  2503.  
  2504. //-----------------------------------------------------------------------------
  2505. // Sprite_Battler
  2506. //-----------------------------------------------------------------------------
  2507.  
  2508. if(!Imported.YEP_BattleEngineCore) {
  2509.  
  2510. var _Sprite_Battler_setBattler = Sprite_Battler.prototype.setBattler;
  2511. Sprite_Battler.prototype.setBattler = function(battler) {
  2512.         _Sprite_Battler_setBattler.call(this, battler);
  2513.         if(battler) battler._dpu_sprite = this;
  2514. };
  2515.  
  2516. }
  2517.  
  2518. //-----------------------------------------------------------------------------
  2519. // Sprite_Damage
  2520. //-----------------------------------------------------------------------------
  2521.  
  2522. Sprite_Damage.prototype.setup = function(target) {
  2523.         this._target = target;
  2524.         this._sprite = (Imported.YEP_BattleEngineCore) ? target.battler() : target._dpu_sprite;
  2525.         this._xOffsetSpecial = 0;
  2526.         this._yOffsetSpecial = 0;
  2527.         this._xOffsetDigits = 0;
  2528.         this._yOffsetDigits = 0;
  2529.         if(Imported.YEP_BattleEngineCore) {
  2530.                 this._result = target.shiftDamagePopup();
  2531.         } else {
  2532.                 this._result = target.result();
  2533.         }
  2534.         var result = this._result;
  2535.  
  2536.         if(!eval(_.condition)) return;
  2537.  
  2538.         var damages = [result.hpDamage, result.mpDamage, result.tpDamage];
  2539.         for(var i = 0; i <= 5; i++) {
  2540.                 if(eval(_.popups[i].condition)) {
  2541.                         this.createDigits(i, damages[Math.floor(i/2)]);
  2542.                         this.incrementDigits(_.xShift, _.yShift);
  2543.                 }
  2544.         }
  2545.  
  2546.         for(var i = 6; i <= 9; i++) {
  2547.                 if(eval(_.popups[i].condition)) {
  2548.                         this.createSpecial(i);
  2549.                         this.incrementSpecial(_.xShift, _.yShift);
  2550.                 }
  2551.         }
  2552.  
  2553.         for(var i = 1; i < _.customPops.length; i++) {
  2554.                 if(_.customPops[i] && eval(_.customPops[i].condition)) {
  2555.                         this.createSpecialCustom(i);
  2556.                         this.incrementSpecial(_.xShift, _.yShift);
  2557.                 }
  2558.         }
  2559. };
  2560.  
  2561. Sprite_Damage.prototype.incrementSpecial = function(x, y) {
  2562.         this._xOffsetSpecial += x;
  2563.         this._yOffsetSpecial += y;
  2564. };
  2565.  
  2566. Sprite_Damage.prototype.incrementDigits = function(x, y) {
  2567.         this._xOffsetDigits += x;
  2568.         this._yOffsetDigits += y;
  2569. };
  2570.  
  2571. Sprite_Damage.prototype.digitWidthFromBitmap = function(bitmap) {
  2572.         return bitmap.measureTextWidth('0');
  2573. };
  2574.  
  2575. Sprite_Damage.prototype.digitHeightFromBitmap = function(bitmap) {
  2576.         return bitmap.fontSize;
  2577. };
  2578.  
  2579. Sprite_Damage.prototype.createSpecial = function(index) {
  2580.         var info = _.popups[index];
  2581.         var bitmap = this.createChildBitmap(info, info.text.length);
  2582.         var sprite = this.createChildSprite(bitmap);
  2583.         sprite.bitmap.drawText(info.text, 2, 0, bitmap.width, bitmap.height, 'left');
  2584.         sprite.dy = 0;
  2585.         sprite.x = eval(info.x);
  2586.         sprite.y = eval(info.y);
  2587.         sprite.xBase = this._xOffsetSpecial;
  2588.         sprite.yBase = this._yOffsetSpecial;
  2589.         sprite.animations = info.animations.clone();
  2590.         sprite.duration = info.duration;
  2591.         sprite.oriDuration = sprite.duration;
  2592.         sprite.flashColor = info.flashColor.clone();
  2593.         sprite.flashDuration = info.flashDuration;
  2594.         sprite.oriX = sprite.x;
  2595.         sprite.oriY = sprite.y;
  2596. };
  2597.  
  2598. Sprite_Damage.prototype.createSpecialCustom = function(index) {
  2599.         var info = _.customPops[index];
  2600.         var bitmap = this.createChildBitmap(info, info.text.length);
  2601.         var sprite = this.createChildSprite(bitmap);
  2602.         sprite.bitmap.drawText(info.text, 2, 0, bitmap.width, bitmap.height, 'left');
  2603.         sprite.dy = 0;
  2604.         sprite.x = eval(info.x);
  2605.         sprite.y = eval(info.y);
  2606.         sprite.xBase = this._xOffsetSpecial;
  2607.         sprite.yBase = this._yOffsetSpecial;
  2608.         sprite.animations = info.animations.clone();
  2609.         sprite.duration = info.duration;
  2610.         sprite.oriDuration = sprite.duration;
  2611.         sprite.flashColor = info.flashColor.clone();
  2612.         sprite.flashDuration = info.flashDuration;
  2613.         sprite.oriX = sprite.x;
  2614.         sprite.oriY = sprite.y;
  2615. };
  2616.  
  2617. Sprite_Damage.prototype.createDigits = function(baseRow, value) {
  2618.         var string = Math.abs(value).toString();
  2619.         var info = _.popups[baseRow];
  2620.         string = info.text.replace(/%1/, string);
  2621.         var dummy = this.createChildBitmap(info);
  2622.         var w = this.digitWidthFromBitmap(dummy);
  2623.         var h = this.digitHeightFromBitmap(dummy);
  2624.         for (var i = 0; i < string.length; i++) {
  2625.                 var bitmap = this.createChildBitmap(info);
  2626.                 bitmap.resize(bitmap.width + (bitmap.outlineWidth*2), bitmap.height)
  2627.                 var sprite = this.createChildSprite(bitmap);
  2628.                 sprite.bitmap.drawText(string[i], 2, 0, w, h, 'left');
  2629.                 sprite.xBase = this._xOffsetDigits;
  2630.                 sprite.yBase = this._yOffsetDigits;
  2631.                 sprite.x = ((i - (string.length - 1) / 2) * w) + eval(info.x);
  2632.                 sprite.y = eval(info.y);
  2633.                 sprite.ry = sprite.y;
  2634.                 sprite.dy = -i;
  2635.                 sprite.animations = info.animations.clone();
  2636.                 sprite.duration = info.duration;
  2637.                 sprite.oriDuration = sprite.duration;
  2638.                 sprite.oriX = sprite.x;
  2639.                 sprite.oriY = sprite.y;
  2640.                 if(this._result.critical) {
  2641.                         sprite.flashColor = [255, 0, 0, 160];
  2642.                         sprite.flashDuration = 60;
  2643.                 } else if(Imported.YEP_AbsorptionBarrier && this._result._barrierAffected) {
  2644.                         sprite.flashColor = Yanfly.Param.ABRPop.slice();
  2645.                         sprite.flashDuration = 180;
  2646.                 } else {
  2647.                         sprite.flashColor = info.flashColor.clone();
  2648.                         sprite.flashDuration = info.flashDuration;
  2649.                 }
  2650.         }
  2651. };
  2652.  
  2653. Sprite_Damage.prototype.createChildSprite = function(bitmap) {
  2654.         var sprite = new Sprite();
  2655.         sprite.bitmap = bitmap;
  2656.         sprite.anchor.x = 0.5;
  2657.         sprite.anchor.y = 0.5;
  2658.         this.addChild(sprite);
  2659.         return sprite;
  2660. };
  2661.  
  2662. Sprite_Damage.prototype.createChildBitmap = function(info, width, height) {
  2663.         width = width || 1;
  2664.         height = height || 1;
  2665.         var bitmap = new Bitmap();
  2666.         bitmap.fontFace = _.font;
  2667.         bitmap.fontSize = _.size;
  2668.         bitmap.textColor = info.color;
  2669.         bitmap.outlineColor = info.outline;
  2670.         if(Imported.YEP_AbsorptionBarrier && this._result._barrierAffected) {
  2671.                 bitmap.textColor = "#FFFFFF";
  2672.         }
  2673.         var w = this.digitWidthFromBitmap(bitmap) * width;
  2674.         var h = this.digitHeightFromBitmap(bitmap) * height;
  2675.         bitmap.resize(w + 20, h);
  2676.         return bitmap;
  2677. };
  2678.  
  2679. Sprite_Damage.prototype.update = function() {
  2680.         Sprite.prototype.update.call(this);
  2681.         for (var i = 0; i < this.children.length; i++) {
  2682.                 if(this.children[i].duration > 0) this.updateChild(this.children[i]);
  2683.         }
  2684. };
  2685.  
  2686. Sprite_Damage.prototype.updateChild = function(sprite) {
  2687.         sprite.duration--;
  2688.         this.updateChildOpacity(sprite);
  2689.         this.updateChildFlash(sprite);
  2690.         if(sprite.animations.indexOf('default') > -1) {
  2691.                 if(!sprite.xIsAdded) {
  2692.                         sprite.x += sprite.xBase;
  2693.                         sprite.ry = -48;
  2694.                         sprite.xIsAdded = true;
  2695.                 }
  2696.                 sprite.dy += 0.5;
  2697.                 sprite.ry += sprite.dy;
  2698.                 if (sprite.ry >= sprite.yBase) {
  2699.                         sprite.ry = sprite.yBase;
  2700.                         sprite.dy *= -0.6;
  2701.                 }
  2702.                 sprite.y = Math.round(sprite.ry) + sprite.oriY;
  2703.         }
  2704.         if(sprite.animations.indexOf('horizontal') > -1) {
  2705.                 if(!sprite.yIsAdded) {
  2706.                         sprite.y += sprite.yBase;
  2707.                         sprite.ry = -48;
  2708.                         sprite.yIsAdded = true;
  2709.                 }
  2710.                 sprite.dy += 0.5;
  2711.                 sprite.ry += sprite.dy;
  2712.                 if (sprite.ry >= sprite.xBase) {
  2713.                         sprite.ry = sprite.xBase;
  2714.                         sprite.dy *= -0.6;
  2715.                 }
  2716.                 sprite.x = Math.round(sprite.ry) + sprite.oriX;
  2717.         }
  2718.         if(sprite.animations.indexOf('float') > -1) {
  2719.                 if(!sprite.xIsAdded) {
  2720.                         sprite.x += sprite.xBase;
  2721.                         sprite.xIsAdded = true;
  2722.                 }
  2723.                 sprite.yBase--;
  2724.                 sprite.y = sprite.yBase + sprite.oriY;
  2725.         }
  2726.         if(sprite.animations.indexOf('fall') > -1) {
  2727.                 if(!sprite.xIsAdded) {
  2728.                         sprite.x += sprite.xBase;
  2729.                         sprite.xIsAdded = true;
  2730.                 }
  2731.                 sprite.yBase++;
  2732.                 sprite.y = sprite.yBase + sprite.oriY;
  2733.         }
  2734.         if(sprite.animations.indexOf('left') > -1) {
  2735.                 if(!sprite.yIsAdded) {
  2736.                         sprite.y += sprite.yBase;
  2737.                         sprite.yIsAdded = true;
  2738.                 }
  2739.                 sprite.xBase--;
  2740.                 sprite.x = sprite.xBase + sprite.oriX;
  2741.         }
  2742.         if(sprite.animations.indexOf('right') > -1) {
  2743.                 if(!sprite.yIsAdded) {
  2744.                         sprite.y += sprite.yBase;
  2745.                         sprite.yIsAdded = true;
  2746.                 }
  2747.                 sprite.xBase++;
  2748.                 sprite.x = sprite.xBase + sprite.oriX;
  2749.         }
  2750.         if(sprite.animations.indexOf('rotation') > -1) {
  2751.                 if(!sprite.xIsAdded) {
  2752.                         sprite.x += sprite.xBase;
  2753.                         sprite.xIsAdded = true;
  2754.                 }
  2755.                 if(!sprite.yIsAdded) {
  2756.                         sprite.y += sprite.yBase;
  2757.                         sprite.yIsAdded = true;
  2758.                 }
  2759.                 if(!sprite.applRotationsAndStuff) {
  2760.                         sprite.anchor.x = 0.5;
  2761.                         sprite.anchor.y = 0.5;
  2762.                         sprite.y -= sprite.height/2;
  2763.                         sprite.applRotationsAndStuff = true;
  2764.                 }
  2765.                 if(sprite.duration > (sprite.oriDuration/2)) {
  2766.                         sprite.rotation = (sprite.duration - (sprite.oriDuration/2)) * (0.1);
  2767.                 } else {
  2768.                         sprite.rotation = 0;
  2769.                 }
  2770.         }
  2771. };
  2772.  
  2773. Sprite_Damage.prototype.updateChildOpacity = function(sprite) {
  2774.         if(sprite.duration < 10) {
  2775.                 sprite.opacity = 255 * sprite.duration / 10;
  2776.         }
  2777. };
  2778.  
  2779. Sprite_Damage.prototype.updateChildFlash = function(sprite) {
  2780.         if (sprite.flashDuration > 0) {
  2781.                 var d = sprite.flashDuration--;
  2782.                 sprite.flashColor[3] *= (d - 1) / d;
  2783.                 sprite.setBlendColor(sprite.flashColor);
  2784.         }
  2785. };
  2786.  
  2787. Sprite_Damage.prototype.isPlaying = function() {
  2788.         for(var i = 0; i < this.children.length; i++) {
  2789.                 if(this.children[i].duration > 0) {
  2790.                         return true;
  2791.                 }
  2792.         }
  2793.         return false;
  2794. };
  2795.  
  2796. })(SRD.BattlePopupCustomizer);





-------------这个战斗显示信息为什么存档存不了呢,MV版本已经是1.61,插件设置是默认的没改过,测试换成单独这个一插件,所以冲突可能性已经排除。
山岚野人,快人快语,礼数不周,还望海涵....
您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-11-18 09:25

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表