-------------------------------------
Koakuma (Koa_RP)
(Touhou: Gensokyo Reloaded version)
-------------------------------------
Author: jade_midori
Editor: Ricepigeon

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

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

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

=====================================
11/25/2021 - Version 2021.11.25
=====================================

- [System] Fixed issue where certain attack explods were not properly removed upon landing.
- [System] Fixed ground tech behavior.
- [System] Fixed issue where round could automatically end prematurely during Koa's victory animations.
- [System] Fixed issues with damage proration not being applied when they should and vice-versa.
- [System] Adjusted Spellcard command priority; "Crimson Combination" now takes priority over "Little Devil Cradle" and "Noachian Deluge".
- 2y: Startup increased by 3f.
- j.2y: No longer possesses invulnerability.
- Voile's Swords: Hitstun & Blockstun values adjusted on all hits.
- Voile's Swords [1st Hit]: Damage adjusted (40/40/40 -> 40/45/50).
- Voile's Swords [1st Hit]: Frame data adjusted (X: 4/8/27 -> 7/2/22, Y: 6/8/28 -> 7/2/25, Z: 8/8/29 -> 7/2/28).
- Voile's Swords [2nd Hit]: Damage adjusted (40/40/40 -> 40/45/50).
- Voile's Swords [2nd Hit]: Frame data adjusted (X: 5/7/29 -> 7/2/25, Y: 7/7/30 -> 7/2/28, Z: 9/7/31 -> 7/2/31).
- Voile's Swords [3rd Hit (4p)]: Damage adjusted (40/40/40 -> 45/50/55), proration decreased (70%->85%).
- Voile's Swords [3rd Hit (4p)]: Frame data adjusted (X: 8/4/20 -> 7/2/30, Y: 10/4/21 -> 7/2/34, Z: 12/4/22 -> 7/2/38).
- Voile's Swords [3rd Hit (4p)]: Now knocks the opponent further back, but has less vertical hit velocity.
- Voile's Swords [3rd Hit (6p)]: Damage adjusted (40/40/40 -> 45/50/55).
- Voile's Swords [3rd Hit (6p)]: Frame data adjusted (X: 18/3/20 -> 17/2/30, Y: 20/3/20 -> 17/2/34, Z: 23/3/22 -> 17/2/38).
- Voile's Swords [3rd Hit (6p)]: Now causes a Knockdown, knocks the opponent higher up but has less horizontal hit velocity.
- Voile's Swords [3rd Hit (2p)]: Damage adjusted (40/40/40 -> 50/55/60).
- Voile's Swords [3rd Hit (2p)]: Frame data adjusted (X: 18/4/20 -> 12/2/34, Y: 20/4/22 -> 12/2/38, Z: 23/4/24 -> 12/2/42).
- Voile's Swords [3rd Hit (2p)]: Now causes a Hard Knockdown, proration increased (80%->75%).
- Lesser Key of Solomon [Emerald City]: Startup & recovery increased by 4f, projectile now spawns 4f later.
- Lesser Key of Solomon [Emerald City]: Projectile hitbox is now more narrow, projectile hitbox duration decreased (8f -> 4f), can no longer block more than 1 projectile.
- Lesser Key of Solomon [Autumn Edge]: Removed.
- Lesser Key of Solomon [Lightning Ball]: No longer resets juggle flags; in addition, the opponent is now considered to be in an air state if the move is not the first juggle hit.
- Lesser Key of Solomon [Laser]: Guardhit velocity on player 2 decreased, recovery decreased by 39f.
- Lesser Key of Solomon [Laser]: Damage on block increased.
- Lesser Key of Solomon [Laser (Full charge)]: Maximum charge time decreased (150f->60f).
- Lesser Key of Solomon [Laser (Full charge)]: Hitbox size increased, is no longer unblockable.
- Trickster Devil: Startup increased by 2f, invincibility now starts from 5f and lasts until 23f (just before Koakuma reappears).
- Trickster Devil: Active frames decreased by 5f, recovery increased by 5f.
- Devil's Kiss: Fixed oversight where move could be cancelled into Spellcards.
- Whimsical Flip: Book selection can now be manually selected by holding directional inputs, can no longer be held if used via this method.
- Whimsical Flip: Book swap now occurs on 11f instead of 1f.
- Whimsical Flip: Fixed graphical oversight where book would give away Koakuma's position during Trickster Devil.
- "Crimson Combination": No longer resets juggle flags.
- "Little Devil Cradle": Vertical hitbox size on trip liedown animation increased, now only slightly shorter than default liedown animation.
- "Little Devil Cradle": Can no longer proceed into 2nd part of the attack if buttons are released after Koakuma starts to get up.
- "Little Devil Cradle": 2nd part of attack now has 6f of startup, startup invulnerability now decreases based on how long Koakuma stays in trip animation.
- "Silent Selene": Total damage decreased (370->350), spellcard text now persists during entire duration of the attack.

=====================================
12/05/2020 - Version 2020.12.05
=====================================

- [System] Fixed bug where Koakuma 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 oversight where lifebars were still visible during intro sequence.
- [System] Book display no longer shows during intro sequence.
- [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.
- 5z: Corrected counterhit hitstun bonus not being applied.
- 2x: Corrected counterhit hitstun bonus value.
- j.5x: Player 2 now faces Koakuma on hit.
- Throw: Fixed timing where Throw proration flag was set prematurely.
- Voile's Swords: Fixed a visual issue where the background of the effect graphics was partially visible.
- Voile's Swords: Improved buffer window of cancelling into self on movecontact.
- Devil's Kiss: Fixed graphical bug involving effects during superpauses, fixed issue with hitsounds. 
- Devil's Kiss: Fixed issue where Koakuma would not turn to face opponent.
- Devil's Kiss: Fixed bug where Counterhit indicator would erroneously pop up during grab animation.
- Lesser Key of Solomon [Autumn Edge]: Fixed graphical bug during superpauses.
- "Danmaku Repelling Shield": Fixed timing of when timer gauge appears.
- "Silent Selene": Koakuma now goes into an automatic activation animation before the laser activates.

=====================================
09/17/2020 - Version 2020.09.17
=====================================

- [System] Tech recovery command changed to hold x/y/z before hitting ground. Can now tech left or right.
- [System] Fixed missing dust effects on tech recovery.
- [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: Velocity on hit decreased, hit velocity on block increased.
- j2y: Velocity increased.
- Throw: tech window increased (7f->15f).
- Throw: Fixed Ikemen-exclusive bugs.
- Voile's Swords: Damage increased (30/30/40->40/40/40).
- Devil's Kiss: Damage increased (60/50/40->70/60/50), fixed Ikemen-exclusive bugs.
- Lesser Key of Solomon [Lightning Ball]: Proration increased (42%->65%).
- Lesser Key of Solomon [Emerald City]: Projectile transparency effects revised.
- "Little Demon Cradle": Fixed bug where books applied additional proration that wasn't intended.
- "Silent Selene": Now applies 97%xN proration to total prorate (damage unaffected).

=====================================
05/29/2020 - Version 2020.05.29
=====================================

- [System] Fixed an IKEMEN-exclusive damage dampening issue.
- Throw: Fixed issues with sprite priority.
- Lesser Key of Soloman [Laser]: Move is now a true hard knockdown.
- Devil's Kiss: Fixed issues with sprite priority.
- "Crimson Combination": Move is now a true hard knockdown.
- "Noachian Deluge": Move is now a true hard knockdown.
- "Little Devil Cradle": Move is now a true hard knockdown.
- "Silent Selene": Fixed an issue where the helper sometimes wouldn't spawn.
- "Silent Selene": Move is now a true hard knockdown.

=====================================
12/27/2019 - Version 2019.12.27
=====================================

- [System] Juggle system now functions independently of M.U.G.E.N's default juggle system.
- [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.
- j.5y: Restored missing sound effect.
- Throw: Now gives the opponent Power.
- Guard Cancel: Fized an issue where Power could be gained when hitting past a certain point.
- Lesser Key of Soloman: Fixed several juggle flag issues.
- Lesser Key of Soloman [Air versions]: No longer turns to face p2 on startup.
- Lesser Key of Soloman [Laser]: Now applies 97% proration per hit, damage adjusted to compensate.
- Lesser Key of Soloman [Laser, air version]: Fixed an issue where the gravity multiplier was being interfered with.
- Voile's Swords: Each stage now has its own individual juggle flag.
- Devil's Kiss: Opponents will no longer attempt to guard the move while its hitbox is active.
- "Crimson Combination": Now freezes the timer if the move successfully hits.
- "Noachian Deluge" [Air version]: No longer turns to face p2 on startup.
- "Danmaku Repelling Shield": Now turns to face p2 on startup.
- "Danmaku Repelling Shield": Spellcard now plays the level 1 activation sound if Power is lower than 2000.
- "Silent Selene": Fixed a helper issue where the animation element wouldn't carry over when Koa was hit during the move's startup.
- "Silent Selene": Fixed a helper angledraw bug that occurred when Koa was hit during the move's startup.

=====================================
06/08/2019 - Version 2019.06.08 (GR)
=====================================

-Applied Dash Jump Cancel Fix I think
-IAD Height Restriction applied
-Book overhead no longer loses overhead property
-Hurtboxes checked.
-Groundbounces & Wallbounces no longer allow opponents to quick getup upon landing.
-Adjusted how the character handles landing sounds in certain basic states.
-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.
-2x carries momentum
-Throw prorates an additional 90%
-Intro vs herself properly asserts intro flag
-corrected random shadows in ikemen
-Projectiles disappear if Koa is hurt.
-Corrected the Scarlet Bat to do two hits once again.

=====================================
12/03/2018 - Version 2018.01.12 (GR)
=====================================

-[System] Fixed bug involving OTGs.
-Fixed issue with crouch blocking from landing.
-Reorganised and replaced sounds to match those in other GR characters.
-Numerous adjustments to gethit and recovery state animations.
-Cleaned out unused sprites and animations, optimised animations for certain attacks.
-Standardisations and other minor optimisations to all common hurtboxes.
-Fixed A.I. bug where jumping out of a forward dash would return Koa to her idle state.
-Adjustments to airdash behaviors.
-Hitpause time increased on numerous attacks (8->10).
-Fixed counter hit explod not appearing for Voile's Swords, Trickster Devil and "Crimson Combination".
-6y: No longer hits high if chained out of 2x, now hits high if chained out of j2y.
-6y: Damage increased (40->60).
-6y: Power gains increased (60/30->80/40).
-2x: Damage increased (20->25), proration increased (0.95->0.9).
-2y: Damage increased (40->45), proration increased (0.9->0.85).
-2z: Damage increased (60->70).
-j5x: Damage increased (20->30), proration increased (0.95->0.9).
-j5y: Damage increased (40->45), proration increased (0.9->0.85).
-Lesser Key of Solomon: Startup Power gain decreased (20->15).
-Lesser Key of Solomon [Air]: Can no longer act after use.
-Lesser Key of Solomon (Scarlet Bats): Fixed bug where projectile would shrink for a frame upon hit.
-Lesser Key of Solomon (Autumn Edge): Fixed bug where hit/block sounds would play twice.
-Banishing Blades: Startup Power gain increased (40->45).
-Trickster Devil: Startup Power gain decreased (40->30).
-Voile's Swords: Startup Power gain (per hit) increased (12->15).
-Voile's Swords (3rd hit): Fixed position and sprite priority of the 2nd effect.
  -> This fix also applies to the respective hit in "Crimson Combination".
-Guard Cancel Counter: Block damage on ground hit increased (10->20).
-"Crimson Combination": Fixed Spellcard text not showing up for P2.
-"Crimson Combination": Hitpause time now only applies to Koa if the move is blocked.
-"Noachian Deluge": Projectiles are now destroyed if they clash with other projectiles.
-"Little Devil Cradle": Fixed ID mismatch that prevented the helix explod from fading out.

=====================================
03/28/2018 - Version 2018.03.28
=====================================

-Adapted to new new reset system.
-Revised bubble beam.
-Revised lightning bubble proration to work properly, but changed from the intended (from around .7->.42)
-Readded book popup from Whimsical Flip.
-Holding Little Devil Cradle all the way does not use up the super anymore, window to attack extended.
-Should no longer be able to tech regular grab.
-Grabs do now apply the extra 0.5 proration penalty.
-Revised damage across all super moves, most damage to least damaging: Crimson Combination, Little Demon Cradle, Noachian Deluge.
-Time for blocking overhead/low rekka are the same.
-FWD dash has standard endlag now.
-Laser is way faster, and should push all the way back.
-ALL command grabs should NOT be techable now.
-Increased rarity of meme voice clip.
-Little devil cradle: books do not cause reset.
-Can cancel into supers out of her special attacks.
-Major damage reworking in her normals and Rekka.
-Bubble beam is slower.
-Noachian Deluge projectiles are slower.
-Rekka last hit prorates more. (0.8->0.7)
-Corrected blocking restrictions on DP+P and QCBx2+P.
-Reduced life (930->900)
-Corrected debug errors on Lesser Key whatever, Active frames on projectiles, Little Devil Cradle, etc. Reduced damage on Emerald City, prorates more (0.7).
-Trickster Devil -> LP LP LP LP LP LP should not happen anymore.
-Fixed animation timings for 5030, 5100, 5170.
-Revised spellcard images.
-Fixed Trickster Devil being cancellable into itself on hit (oops)
-Added GCC
-Adapted to new GR reset system.
-Rekka commands simplified, cancellability changed, removed ability to go directly into the last hit. Regular last hit pops up higher.
-New super move, QCBx2+P: Little Devil Cradle
-Current book "level" displayed on screen at all times.
-Completely revamped book level system, laser is included again. All attacks recoded and revised. Koa has unique animations for each attack.
  -> Level 1: Now does two hits.
  -> Level 2: Completely reworked, now stuns and dizzies on hit
  -> Level 3: Blades have to be held by holding the button now, having Koa in place, releasing it shoots all of them.
  -> Level 4: More active frames, bigger hitbox.
  -> Level 5: Koa stays stationary while charging the laser, can be turned unblockable if held until the charged effect shows up.
-Improved crouching attack hitboxes.
-Whimsical Flip: Book popup no longer necessary, switches instantly, changes through books at a faster pace.
-A bit more consistent with meter and damage all across.
-Devil's Kiss should be jumpable now.
-Corrected THGR Koa having several frames of invuln that were not supposed to be there. Air Guard vel launches way less.
-Crimson Combination: Velocity is faster.
-Noachian Deluge: Single beam string, faster startup, faster projectile.

=====================================
07/03/2017 - Version 2017.07.03
=====================================

-Fixed power adds here and there.
-Rekka does more damage.
-Proration corrected in several moves.
-Level 2 lesser key can be fired downwards if in midair.
-Moves that turn Koa invisible also turn Danmaku Repelling Shield's books and time bar invisible.
-Several other changes.

=====================================
06/17/2017 - Version 2017.06.17
=====================================

-Failsafe for Groundbounce corrected.

=====================================
06/16/2017 - Version 2017.06.16
=====================================

-Skipping to the last hits of the rekka makes it safer and gives less chip. Adjusted proration
to affect every hit.
-Trickster Devil is much faster (by at least 10F).
-Banishing Blades has startup invulnerability for all versions.
-Damage proration on several moves corrected. She should no do much more than around 350 damage with meter.
-QCFx2+X/Y/Z moves faster, begins faster. No longer should miss up close.
-Crimson Combination hitbox extended slightly higher.
-DP,Z should no longer whiff up close on standing opponents.
-You can now combo off of her DP+X/Y/Z Special.
-Winquotes Added!
-Voice Added!

=====================================
06/12/2017 - Version 2017.06.12
=====================================

-First Public Release.


------------------
Movelist
------------------
 
X - Light Attack
Y - Medium Attack
Z - Heavy Attack
A - Dash Shortcut 
B - Shortcut for y+z
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] 
- The ground version can be jump cancelled or cancelled into ground moves, while the aerial version 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+y (6y) - Book Smack [G]
- Koakuma pulls out a book and smacks the opponent over the head with it. It's reasonably safe for an overhead.

* D+y (2y) - Shadow Drop [A]
- Koakuma becomes completely invulnerable when she disappears, but upon landing she becomes quite vulnerable.
  If the move hits, it can be attack cancelled.

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

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

* D,DF,F + x/y/z (236x, 236y, or 236z) - Lesser Key of Solomon [GA]
- Koakuma's projectile attack. Starts at Scarlet Bats, but can be changed with Whimsical Flip.
	- Scarlet Bats: homes towards the opponent and hits twice; button strength determines projectile speed.
	- Lightning Ball: momentarily stuns the opponent on hit; button strength determines projectile velocity.
	- Emerald City: summons a giant emerald pillar, button strength determines distance at which the pillar is spawned,
	  with the x version being next to Koakuma and the z version being at around 2/3s of the screen away from her.
	- Laser: charges up a laser, with the move become unblockable at maximum charge. No version variations.

* x/y/z (xyz) - Whimsical Flip [G]
- Changes the projectile fired by Lesser Key of Solomon, based on the direction held when executing the move as follows:
	- No input (5xyz): Scrolls through the next available book until button is released.
	- Forward input (6xyz)Scarlet Bats
	- Backward input (4xyz): Laser
	- Down input (2xyz): Emerald City
	- Up input (8xyz): Lightning Ball

* F,D,DF + x/y/z (623x, 623y, or 623z) - Banishing Blades [G]
- Standard uppercut-like reversal.
	- x version: 5F invuln.
	- y version: 4F invuln.
	- z version: 3F invuln.

* D,DB,B + x/y/z (214x, 214y, or 214z) - Voile's Swords [G]
- Koakuma's rekkaken, hits up to three times. Subsequent hits must be activated with B + x/y/z, though the final hit's
  directional button can be changed to D for a low or F for an overhead.

* F,D,DF + x/y/z or B,D,DB + x+y+z (623xy or 421xyz) - Trickster Devil [G]
- Koakuma teleports either forwards (F,D,DF) or backwards (B,D,DB), becoming completely invulnerable while doing
  this; afterwards she autocorrects and slashes at the opponent. Gives enough frame advantage on hit to chain into any
  ground Normal.

* F,DF,D,DB,B + x/y/z (63214x, 63214y, or 63214z) - Devil's Kiss [G]
- Koakuma leaps towards the opponent and attempts to grab them, draining their Power and causing some damage to them if
  she succeeds. The move is unblockable and has a fair amount of lower body invulnerability during the leap, but has
  hefty startup and leaves Koakuma very exposed if the grab doesn't connect.

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

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

* D,DF,F,D,DB,B + x/y/z (236214x, 236214y, or 236214z) - Devil Sign - "Crimson Combination" [G]
- Koakuma thrusts forward shoulder-first and delivers a damaging combination attack on a successful hit, if blocked or
  whiffed it has painful endlag, but the character is invulnerable and moves forward quite a distance during startup.

* D,DF,F,D,DF,F + x/y/z (236236x, 236236y, or 236236z) - Earth Water Sign - "Noachian Deluge" [GA]
- Koakuma sends forth multiple bubbles of water.

* D,DB,B,D,DB,B + x/y/z (214214x, 214214y, or 214214z) - "Little Devil Cradle" [G]
- Koakuma attempts to do her Little Devil Cradle, but fails and drops books if the button is held. Releasing the button
  at any time before returning to the idle state will activate the move.

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

* D,DB,B,D,DB,B + x+y+z (214214xyz) - "Danmaku Repelling Shield" [G]
- Must be selected prior to match, can be used with a minimum of 1500 Power. Koakuma summons two books which make her
  completely invulnerable to any kind of projectile attack, though she will temporarily lose this invulnerability if
  she's put into a hitsate by another type of attack. The move's duration is 7 seconds at minimum and 14 seconds at
  maximum.

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

* D,DF,F,D,DF,F + x+y+z (236236xyz) - "Silent Selene" [G]
- Koakuma forces energy into the ground, conjuring a magical ring that tracks the opponent's position. Should five 
  seconds pass and Koakuma has not been hit in that time, an unblockable shower of light envelops the foe, dealing major
  damage. The laser is not activated until Koakuma has entered a neutral state or cancellable attack animation.


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

Elecbyte 		- For making MUGEN.
ZUN             	- For creating the Touhou project.
Yamori X		- Made a cool sound for the Silent Selene hyper move.
RicePigeon		- Recycled code portions, beta testing, and a good friend in general
Flawless		- Original X-Costume Selector code
DoomBowser		- Additional fixes

Palette Contributors: 
- Yamori X
- Ricepigeon

Beta Testers:
- Yamori X
- RicePigeon
- DoomBowser
- PlasmoidThunder
- BrawlTheMan
- Rodknee
- TheFclass97
- ROS


------------------
Contact Info:
------------------

don't bother me im very busy man playing dong knog contryt and quuit fuckikng wiuth my pc it cost 999999999
for business inquiries and porn talk to ricepigeon or something.