-------------------------------------
Remilia Scarlet (Remilia_RP)
(Touhou: Gensokyo Reloaded version)
-------------------------------------
Author: RicePigeon

------------------
Contents
------------------

1. Contents (You're reading this)
2. Version Changes
3. Movelist
  3a. Command Moves
  3b. Specials
  3c. Spellcards
4. Credits
5. Contact Info

------------------
Version Changes
------------------

=====================================
01/01/21 - Version 2021.01.01
=====================================

- "Bad Lady Scramble": No longer turns to face opponent.

=====================================
12/05/20 - Version 2020.12.05
=====================================

- [System] Fixed bug where Remilia was vulnerable to grabs during pre-jump frames.
- [System] Fixed graphical bug involving dash effects during superpauses.
- [System] Fixed an issue where getup invulnerability would end prematurely if an attack was performed on the same frame control was regained.
- [System] Fixed bug where air dash limiter was resetting in instances where it shouldn't.
- [System] Added workaround that would resolve a bug in Stupa's Training character.
- [System] Corrected button strength priority in commands; higher strength buttons now take priority over lower strength buttons.
- [System] Fixed oversight that allowed certain moves to be cancelled when they should not be.
- [System] Dash velocities slightly decreased.
- [System] Distance covered by air dashes decreased, altered momentum on Air Normals when cancelling from an Air Dash.
- Corrected typo in one of Remilia's victory quotes.
- 5y: Fixed bug involving proration not applying on the last possible active frames of the attack.
- 2z: Guard velocity increased.
- j.2y: Fixed bug involving proration not applying on the last possible active frames of the attack, fixed minor bug in flagging of recovery frames.
- Throw: Fixed bug where Stupa's Training character could not tech the throw.
- Throw: Fixed timing where Throw proration flag was set prematurely.
- Demon Lord Walk: Fixed incorrect hitstun bonus on counterhit being applied.
- Demon Lord Cradle: Fixed incorrect hitstun bonus on counterhit being applied.
- Vampire Kiss: Fixed issue where cornerpush would be improperly applied, fixed issue where target would be stuck in hitstate if Remilia was struck.
- Vampire Kiss: Fixed issue where move would erroneously gain counterhit bonuses.
- "Demon King Cradle": Fixed incorrect hitstun bonus on counterhit being applied, fixed minor bug in flagging of recovery frames.
- "Bad Lady Scramble": Fixed incorrect hitstun bonus on counterhit being applied.
- "Scarlet Devil": Fixed oversight where incorrect hitstun value was being applied to airborne opponents.
- "Millenium Vampire": Fixed bug where life drain effect wasn't occuring on certain multi-hit attacks.
- "Millenium Vampire": Fixed bug involving effects not persisting through superpause.

=====================================
09/17/20 - Version 2020.09.17
=====================================

- [System] Tech recovery command changed to hold x/y/z before hitting ground. Can now tech left or right.
- [System] All combos now apply a one-time 75% prorate for the second attack onward.
- [System] Implemented flag that prevents multi-hit moves from applying forced 75% proration to its remaining hits.
- 2z: Hit velocity on block increased.
- j5x: Adjusted momentum when used from ground dashes.
- j5y: Corrected counterhit stun bonuses, adjusted momentum when used from ground dashes.
- j2y: Corrected counterhit stun bonuses, adjusted momentum when used from ground dashes.
- j5z: Adjusted momentum when used from ground dashes.
- j6z: Corrected improperly set recovery frame flag during recoil animation.
- Throw: tech window increased (7f->15f).
- Throw: Fixed Ikemen-exclusive bugs.
- Vampire Kiss: Fixed Ikemen-exclusive bugs.
- "Demon Lord Cradle": Fixed bug where proration was only being applied once.
- "Scarlet Devil": Total damage increased (400->425).

=====================================
05/24/20 - Version 2020.05.24
=====================================

- "Millenium Vampire": Timer countdown now ignores hitpause.
- "Scarlet Devil": Now gains counterhit bonuses.

=====================================
03/29/20 - Version 2020.03.29
=====================================

- Vampire Kiss: Fixed bug where throw limiter wasn't being flagged properly.

=====================================
10/10/19 - Version 2019.10.10
=====================================

- [System] Juggle system now functions independently of M.U.G.E.N's default juggle system.

=====================================
09/26/19 - Version 2019.09.26
=====================================

- [System] Fixed an issue where the tech recovery wasn't using all two-punch button combinations.
- [System] Miscellaneous common state fixes and adjustments.
- [System] Fixed various timing issues pertaining to Spellcard effects.
- [System] Opponents will now always go into the air recovery anim at the same time as the reset state.
- [System] Reset landing now grants opponents increased full invulnerability (2f->3f) and 6f extra grab invulnerability.
- [System] Added numerous state numbers that were missing from the tick fix code.
- [System] Fixed an issue where custom stated opponents were getting up a frame too early.

=====================================
06/01/19 - Version 2019.06.01
=====================================

- [System] Adjustments to common state animations and hurtboxes.
- [System] Updated outdated Recovery frame flags to current standards.
- [System] Updated outdated Hitdef triggers to current standards.
- [System] Groundbounces & Wallbounces no longer allow opponents to quick getup upon landing.
- [System] Fixed timing issues with groundbounce angledraw and offset.
- [System] Corrected regular jump landing time (5f->4f).
- [System] Corrected back hop/air dash landing times (11f->8f).
- [System] Adjusted how the character handles landing sounds in certain basic states.
- [System] Air dashes now have a height restriction when ascending.
- [System] Fixed numerous debug errors that would occur if P2 was somehow missing.
- Fixed visual issue where the tech recovery explod was being affected by palfx.
- Fixed IKEMEN exclusive visual issue where the Dash/Guard Cancel Counter/Spellcard effect helpers would incorrectly generate a shadow.
- Ground Backward Dash: Cancel window reverted.
- 2y: Can now be blocked high.
- 6z: No longer loses overhead properties when chained into.
- j.5z: Groundbounce counterhit proration multiplier decreased (85%->90%).
- Throw: Now applies 90% normal proration.
- Guard Cancel: No longer gains counterhit bonuses.
- Chain Gang [X & Y]: Now disappears if Remilia is hit.

=====================================
02/11/19 - Version 2019.02.11
=====================================

- Chain Gang: Fixed visual bugs.

=====================================
01/30/19 - Version 2019.01.30
=====================================

- Chain Gang: Fixed issue with juggle flags.
- "Bad Lady Scramble": Fixed issue where opponent could recover prematurely.

=====================================
12/20/18 - Version 2018.12.20
=====================================

- Chain Gang [X & Y ver]: Proration increased (80%->85%).
- Chain Gang [Z ver]: Damage decreased (30->20), proration increased (75%->80%).
- Vampire Kiss: Corrected bug with inputs.

=====================================
12/02/18 - Version 2018.12.02
=====================================

- [System] Fixed bug involving OTGs.

=====================================
09/20/18 - Version 2018.09.20
=====================================

- Fixed a minor issue with reset.

=====================================
05/22/18 - Version 2018.05.22
=====================================

- Fixed bug with Counterhit system.
- Demon Lord Walk: Fixed bug with counterhit effects if Remilia had previously traded hits.

=====================================
05/19/18 - Version 2018.05.19
=====================================

- Fixed additional bugs in reset system.

=====================================
03/13/18 - Version 2018.03.13
=====================================

- Fixed Guarding behavior regarding crossups.
- Fixed Invulnerability times on Guard Cancel Counter.

=====================================
02/08/18 - Version 2018.02.08
=====================================

- Adjusted cancel timings of ground dashes.
- Ground Forward dash: startup time increased by 1f.

=====================================
11/25/17 - Version 2017.11.25
=====================================

- Fixed bug with throw safeguard.
- Fixed bug where incorrect sounds would play when Remilia is knocked down.

=====================================
11/02/17 - Version 2017.11.02
=====================================

- 5y: Fixed issue with hitting airborne opponents.

=====================================
09/25/17 - Version 2017.09.25
=====================================

- Guard Cancel Counter: Command changed to B,DB,D + X/Y/Z (412X, 412Y, 412Z).
- Demon Lord Walk: Is now air blockable.
- Demon Lord Cradle: Is now air blockable after the first 2 active frames.
- "Demon King Cradle": Is now air blockable.
- "Scarlet Devil": Is now air blockable.

=====================================
09/24/17 - Version 2017.09.24
=====================================

- Adjustments to various hit animations.
- Power gains on Normals adjusted.
- Fixed missing dust effects on ground tech recovery.
- New mechanic added: Guard Cancel Counter (B+2 atk during blockstun). 
- j2y: Fixed bug during "Millenium Vampire" where Remilia would only heal during 1st hit.
- j5z: Now causes soft knockdown against airborne opponents.
- Throw: Bugfix for Proration.
- Demon Lord Walk [Y ver]: Chip damage on 1st hit increased (10->11).
- Demon Lord Walk [Z ver]: Chip damage on 2nd & 3rd hits swapped.
- Vampire Kiss: Fixed bug where proration was not being applied.
- Vampire Kiss: Power gains decreased (45/120/60->45/80/40).
- Chain Gang: Fixed bug in homing algorithm.
- Chain Gang [X & Y ver]: Now only hits once.
- Chain Gang [X & Y ver]: Damage increased (15->70), proration decreased (96%->80%).
- Chain Gang [X & Y ver]: Power gains increased (15/14/7->15/60/30).
- "Demon King Cradle": Chip damage decreased (8xN->7xN).

=====================================
08/13/17 - Version 2017.08.13
=====================================

- Throw: Safeguard implemented if target is somehow lost during the throw.

=====================================
06/25/17 - Version 2017.06.25
=====================================

- Fixed major bug where juggle flags were not being applied properly.
- Fixed animation timings in anims 5050 & 5100.
- j6z: Proration increased (75%->80).
- Chain Gang [Z Version]: Proration increased (65%->75%).

=====================================
06/02/17 - Version 2017.06.02
=====================================

- Voice added.
- Chain Gang [Z version]: Can now be destroyed by projectiles.
- "Spear the Gungnir": Fixed minor bug that may occur during combos.
- "Spear the Gungnir": Proration decreased (0.75->0.55).
- "Spear the Gungnir": Now has a small internal cooldown after use.

=====================================
05/24/17 - Version 2017.05.24
=====================================

- Fixed bug where damage proration would not apply correctly in IKEMEN.
- Chain Gang [Z version]: Startup increased by 2f.

=====================================
04/18/17 - Version 2017.04.18
=====================================

- Fixed bug involving graphical display of Spellcard selection.

=====================================
03/11/17 - Version 2017.03.11
=====================================

- Fixed issue with anim 5160.
- Fixed IKEMEN specific issues in spellcards.
- "Millenium Vampire": Minimum power cost increased (1000->1500).

=====================================
02/06/17 - Version 2017.02.06
=====================================

Changes from Version 2016.12.10

- Minimum damage scaling on Specials decreased (15%->10%).
- Minimum damage scaling on Spellcards decreased (20%->15%).
- j6z: Proration decreased (80%->75).
- Chain Gang [Z Version]: Can no longer hit opponents out of a reset.
- Chain Gang [Z Version]: Proration decreased (70%->65%).

=====================================
12/10/16 - Version 2016.12.10
=====================================

Changes from Version 2016.11.15

- 5z: Damage decreased (70->60).
- 6z: Damage decreased (75->70).
- j.5z: Damage decreased (70->60).
- Chain Gang [Z Version]: Damage decreased (40 -> 30).
- Chain Gang [Z Version]: Proration increased (90% -> 70%).
- Demon Lord Walk: Damage on 1st hit decreased (L: 91->81, M: 66->56, H: 53->43).
- Demon Lord Walk [Y & Z Versions]: Damage on 2nd hit decreased (M: 66->61, H: 53->48).
- "Scarlet Devil": Total damage reduced (438 -> 400).

=====================================
11/15/16 - Version 2016.11.15
=====================================

Changes from Version 2016.10.31.01

- Vampire Kiss: Fixed Bug where Remilia could cancel into Spellcards during grab animation

=====================================
10/31/16 - Version 2016.10.31.01
=====================================

Changes from Version 2016.10.31

- Demon Lord Walk [Z Version]: Fixed hit velocities.
- "Spear the Gungnir": Fixed issue where spear could hit p2 multiple times.

=====================================
10/31/16 - Version 2016.10.31
=====================================

- First release

------------------
Movelist
------------------
 
X - Light Attack
Y - Medium Attack
Z - Heavy Attack
A - Dash Shortcut 
B - Shortcut for x+y
C - Shortcut for x+y+z
Start - Taunt

------------------
Command Moves
------------------

Note: Each move indicates if it can be done on the ground only [G], in the air only [A], or both [GA]

* F,F or F+a (66 or 6a) - Forward Dash [GA] 
- Both the ground and aerial versions can be cancelled into aerials.

* B,B or B+a (44 or 4a) - Backward Dash [GA]
- Both the ground and aerial versions can be cancelled into aerials.

* y+z (5yz) - Forward Throw [G]
- Can be teched out of by pressing any button while holding back or forward; opponent cannot tech if grabbed in the
  middle of an attack.

* B+y+z (4yz) - Backward Throw [G]
- Can be teched out of by pressing any button while holding back or forward; opponent cannot tech if grabbed in the
  middle of an attack.

* F+z (6z) - Wing Slam [G]
- Remilia slams her wings down in front of her. Hits overhead.

* j.D+y (j.2y) - Wing Drill [A]
- Remilia swirls her wings around her feet in a drill-like motion, hitting multiple times.

* j.F+z (j.6z) - Demon Arrow [A]
- Remilia does a fast dashing attack toward the ground. Causes knockdown.

------------------
Specials
------------------

* B,DB,D + x/y/z (412x, 412y, or 412z) - Guard Cancel [G]
- Requires 1000 Power, can only be done during blockstun. Remilia counterattacks using the x version of Demon Lord Cradle.

* D,DF,F + x/y/z (236x, 236y, or 236z) - Demon Lord Walk [G]
- Remilia leaps forward, dodging any projectiles in her path as she slams into the opponent. Button press determines the
  number of leaps and distance Remilia leaps.

* F,D,DF + x/y/z (623x, 623y, or 623z) - Demon Lord Cradle [G]
- Reversal. Remilia envelops herself in swirling red energy and launches herself upward. Button press determines the angle.

* F,DF,D,DB,B + x/y/z (63214x, 63214y, or 63214z) - Vampire Kiss [G]
- Command Grab. Remilia sucks the opponent's blood, healing herself. Button press determines startup and distance traveled.

* D,DB,B + x/y/z (214x, 214y, or 214z) - Chain Gang [GA]
- Remilia launches a chain aimed at the opponent's position. The chain lingers for a while before erupting in a series of small
  explosions. The z version, however, causes Remilia to drag herself to the opponent's position when the chain makes contact
  with them.

------------------
Spellcards
------------------

=============================
Level 1 Spellcards
=============================

* D,DF,F,D,DF,F + x/y/z (236236x, 236236y, or 236236z) - Divine Spear "Spear the Gungnir" [G]
- Remilia throws a giant energy spear at her opponent. Causes wallbounce on hit.

* D,DB,B,D,DB,B + x/y/z (214214x, 214214y, or 214214z) - Midnight Sign "Demon King Cradle" [G]
- Reversal. Super version of Demon Lord Cradle.

* D,DB,B,D,DB,B + x/y/z (214214x, 214214y, or 214214z) - Midnight Sign "Bad Lady Scramble" [A]
- Air version of Demon King Cradle. Aims Remilia toward the ground. Lacks the startup invincibility of Demon King Cradle.

=============================
Level X Spellcards
=============================

* D,DB,B,D,DB,B + x+y+z (214214xyz) - "Millenium Vampire" [G]
- Must be selected prior to match. Remilia surrounds herself with a red aura, whose duration depends on how much power
  Remilia has when the attack is executed. As long as the aura is active, each of Remilia's melee attacks will heal her
  Life. The life drain effect of Vampire Kiss is also increased during this time.

=============================
Level 3 Spellcards
=============================

* D,DF,F,D,DF,F + x+y+z (236236xyz) - "Scarlet Devil" [GA]
- Must be selected prior to match.  A highly damaging reversal melee attack whose invincibility frames last throughout the
  entire duration of the active frames. Hits OTG, but highly unsafe if whiffed or blocked.

------------------
Credits
------------------

Elecbyte 		- For making MUGEN.
ZUN             	- For creating the Touhou project.
Daniel9999999		- Recycled code portions, beta testing, and a good friend in general
Flawless		- Original X-Costume Selector code
Magicxiang		- Select screen portrait
Orebalgum		- Spellcard portrait
PlasmoidThunder		- Voicepack, additional fixes.

Palette Contributors: 
- PlasmoidThunder
- DoomBowser
- IkutronHD
- Taur
- vgma2
- Data_Drain
- HarmoknightYo

Beta Testers:
- slayraptor64
- PlasmoidThunder
- DoomBowser