-------------------------------------
Ichirin Kumoi (Ichirin_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

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

=====================================
01/16/21 - Version 2021.01.16
=====================================

- [System] Ichirin's hurtbox will now immediately change upon Unzan being activated/deactivated in all allowed common states.
- [System] Idle and walking animations will no longer restart if Unzan is activated/deactivated.
- [System] Jump start will now use the correct hurtbox when Unzan is active.
- [System] Fixed bug where Ichirin 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 grabs would erroneously display the counterhit indicator.
- [System] Fixed oversight that allowed certain moves to be cancelled when they should not be.
- [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.
- 2y (Unzan active): Can no longer KO an opponent via chip damage.
- 2z (Unzan active): Guard velocity increased.
- Throw: Fixed bug where Stupa's Training character could not tech the throw.
- Throw: Fixed timing where Throw proration flag was set prematurely.
- Small Kamitate Cloud: Fixed hitstun value against airborne opponents.

=====================================
11/01/20 - Version 2020.11.01
=====================================

- [System] Maximum Life decreased (1100->1000).
- [System] Unzan active hurtboxes decreased.
- [System] Walk & Dash speeds increased, now moves slightly slower while Unzan is active.
- [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.
- [System] Unzan gauge depletion rate decreased (approx 300% dmg -> 200% dmg).
- [System] Unzan gauge regeneration rate decreased (Regular: 5gps->4gps (Approx 200f->250f), Broken: 3gps->2gps (Approx 334f->500f)).
- [System] Ichirin no longer takes chip damage when blocking while Unzan is active, but Unzan gauge now depletes during this time.
- 5z (Unzan active): Hitbox size decreased & position adjusted.
- 5y (Unzan inactive): Hitbox size increased.
- 5y (Unzan active): Hitbox position adjusted.
- 2y (Unzan inactive): Hitbox size increased.
- 2y (Unzan active): Hurtbox & projectile hitbox sizes decreased, recovery frames decreased by 3f.
- 2z (Both): Hit velocity on block increased.
- 6z (Unzan inactive): Hurtbox size decreased, recovery frames decreased by 6f, damage decreased (100->90).
- j5x/j5y/j5z (Unzan active): Fixed graphical bug where Unzan's animation would loop.
- j5x (Unzan inactive): Hitbox size increased & repositioned.
- j5x (Unzan active): Completely revised, now differentiated from Unzan inactive version.
- j5y (Both): Fixed counter hit stun bonuses.
- j5y (Unzan inactive): Hurtbox after active frames reduced.
- j5y (Unzan active): Hitbox size decreased.
- j5z (Unzan inactive): Startup decreased by 1f, active frames increased by 4f.
- j5z (Unzan active): Hitbox & hurtbox sizes decreased, proration increased (70%->75%).
- j5z (Unzan active): now properly causes a knockdown against airborne opponents.
- Throw: Tech window increased (7f->15f).
- Throw: Fixed Ikemen-exclusive bugs.
- Raging Running Fist: Can no longer be used if Unzan is inactive, all versions changed to the former inactive versions.
- New Special: Returning Treasured Rings: D,DF,F + x/y/z (236p) while Unzan inactive. 
- Hanging Cloud's Iron Hammer: Startup decreased by 6f on all versions, projectile now comes out 2f earlier.
- Hanging Cloud's Iron Hammer: Proration increased (75%->80%).
- North Mountain Wind of Mercy: Hurtbox size decreased, proration increased (65%->75%).
- Handful of Floating Cloud: Groundbounce velocity increased, throw animation recovery decreased by 10f.
- Handful of Floating Cloud: Now utilizes its own juggle flag, fixed Ikemen-exclusive bugs.
- Handful of Floating Cloud: Proration increased (50%->75%).
- New Special: Small Kamitate Cloud: F,D,DF + x/y/z (623p) while Unzan inactive.
- "Deadly Wind of Penitence": Hurtbox on Ichirin no longer extends forward.
- "Foreseeing Nyuudou Cloud": Hurtbox sizes increased.
- "Thunderous Rage of an Angry Old Man": Fixed Ikemen-exclusive bugs.
- "Thunderous Rage of an Angry Old Man": Startup invulnerability now lasts past active frames, superpause now occurs later in startup.


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

- [System] Unzan recharge now ignores hitpause.
- 6z (Unzan active): Fixed an issue where the move wasn't gaining a counterhit damage bonus.
- 6z (Unzan active): Fixed an issue where the move wasn't abiding by damage dampening.
- Raging Running Fist (Unzan active): Now gains counterhit bonuses.
- "Deadly Wind of Penitence": Now gains counterhit bonuses.

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

- [System] Juggle system now functions independently of M.U.G.E.N's default juggle system.
- [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.
- "Thunderous Rage of an Angry Old Man": Now freezes the timer if the grab successfully connects.

=====================================
05/23/19 - Version 2019.05.23
=====================================

- [System] Minor adjustments to hurtboxes in some gethit states.
- [System] Updated Recovery frame flags to current standards.
- [System] Updated 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 forward dash startup time (4f->5f).
- [System] Corrected time in which the forward dash can be jump cancelled.
- [System] Adjusted how the character handles landing sounds in certain basic states.
- [System] Air dashes now have a height restriction when ascending.
- [System] Dash skid times are now consistent regardless of Unzan is active or inactive.
- 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.
- 6z: No longer loses overhead properties when chained into.
- 2x: Corrected inability to conserve forward dash momentum into the attack.
- Throw: Now applies 90% normal proration.
- Guard Cancel Counter: No longer applies counterhit bonuses.
- Raging Running Fist (Unzan Inactive): Recovery frames are now flagged properly.
- Hanging Cloud's Iron Hammer: Recovery frames are now flagged properly.
- Handful of Floating Cloud: Recovery frames are now flagged properly.
- "Deadly Wind of Penitence": Recovery frames are now flagged properly.
- "King Kraken Strike": Recovery frames are now flagged at the correct time.

=====================================
02/18/19 - Version 2019.02.18
=====================================

- [System] Corrected bug that erroneously give projectiles counterhit properties.

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

- "Forseeing Nyuudou Cloud": Fixed issue where opponent could recover prematurely.

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

- [System] Fixed bug involving OTGs.

=====================================
09/22/18 - Version 2018.09.22
=====================================

- Fixed a minor issue with reset.
- "Foreseeing Nyuudou Cloud": Startup invincibility increased by 24f.
- "Foreseeing Nyuudou Cloud": Hitvel changes from version 2017.09.14 reverted.
- "King Kraken Strike": Hitvel changes from version 2017.09.14 reverted.

=====================================
05/27/18 - Version 2018.05.27
=====================================

- Fixed counterhit related bugs.

=====================================
05/20/18 - Version 2018.05.20
=====================================

- Fixed additional bugs in reset system.

=====================================
04/18/18 - Version 2018.04.18
=====================================

- Adjustments to dash behavior.
- Corrected guarding behavior in regards to crossups.
- Corrected invuln timing on Guard Cancel.
- Adjustments to reset behavior.
- Knockdowns will no longer cause Unzan to deactivate.
- 5y (Unzan): Hitstun & Blockstun decreased by 2f. 
- 5y (Unzan): Active frames decreased by 2f, startup increased by 2f. Hurtboxes adjusted.
- 6z (Unzan): Corrected faulty juggle flag.
- 2y (Unzan): Recovery increased by 4f.
- Hanging Cloud's Iron Hammer: Hitbox size drastically reduced, recovery time increased by 3f.
- North Mountain Wind of Mercy: Damage decreased (100/120/140->90/110/130).

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

- Fixed incorrect sounds when Ichirin is knocked down.
- 5y (Unzan ver): Hitstun & blockstun increased by 2f, recovery time increased by 2f.

=====================================
10/19/17 - Version 2017.10.19
=====================================

- New mechanic added: Guard Cancel Counter (412x/y/z during blockstun).
- Unzan now deactivates if Ichirin suffers from a knockdown or throw state.
- Taunt: Fixed bug where Ichirin's hurtboxes would not change while Unzan is active.

=====================================
09/14/17 - Version 2017.09.14
=====================================

- Ichirin's hurtbox size now increases drastically while Unzan is active.
- Implemented failsafe if opponent is somehow lost during throws.
- 5x (Unzan): Startup increased by 2f.
- 5y (Unzan): Startup increased by 3f.
- 5y (Unzan): Hurtbox size increased, hitbox size decreased.
- 2y (Unzan): Fists now spawn closer to Ichirin.
- 2y (Unzan): Startup increased by 2f.
- 2z (Unzan): Can now be blocked high.
- 2z (Unzan): Hitbox size decreased.
- j5z (Unzan): Hitbox size decreased.
- Raging Running Fist (Inactive): Chip damage increased (2xN->3xN).
- Raging Running Fist (Active): Damage decreased (25xN->23xN).
- Raging Running Fist (Active): Can no longer supercancel before making contact.
- Raging Running Fist (Active): Fixed issue where Unzan would become disconnected from Ichirin.
- North Mountain Wind of Mercy: Can now be airblocked.
- North Mountain Wind of Mercy: Hitbox size decreased. Fixed issue where hurtbox shrinks for one frame.
- North Mountain Wind of Mercy: Blockstun decreased by 3f.
- Handful of Floating Cloud: Damage decreased (130/140/150->120/130/140).
- Handful of Floating Cloud: Power gains decreased (45/200/100->45/160/80).
- Handful of Floating Cloud: Proration decreased (55%->50%).
- Handful of Floating Cloud: Hitbox size decreased.
- "Foreseeing Nyuudou Cloud": Chip damage decreased (4xN->3xN).
- "Foreseeing Nyuudou Cloud": Hit velocities decreased.
- "King Kraken Strike": Projectile hitbox size slightly decreased.
- "King Kraken Strike": Hit velocities slightly decreased.
- "King Kraken Strike": Recovery increased by 4f.
- "Thunderous Rage of an Angry Old Man": Hitbox size slightly decreased. Hurtbox now persists into recovery frames.

=====================================
08/05/17 - Version 2017.08.05
=====================================

- Adjustments to several hit animations.
- Corrected visual error on ground tech.
- Throw: Corrected timing of throw proration.
- Raging Running Fist [Unzan inactive]: Power gains adjusted (30/10xN/5xN->20/12xN/6xN).
- Raging Running Fist [Unzan active]: Power gains adjusted (45/10xN/5xN->30/16xN/8xN).
- "Deadly Wind of Penitence": Startup reduced by 10f.
- "Deadly Wind of Penitence": Now hits OTG.

=====================================
06/09/17 - Version 2017.06.09
=====================================

- Fixes a few readme typos.
- Raging Running Fist (Unzan active): Corrected bug where X and Z versions would only hit 4 times.
- Raging Running Fist (Unzan active): Corrected timing discrepancy in X and Z versions.
- North Mountain Wind of Mercy: Corrected extended hurtbox missing on one animation frame.
- "King Kraken Strike": Proration per hit increased (60%->95%).

=====================================
05/26/17 - Version 2017.05.26
=====================================

- Fixed bug in IKEMEN where certain attacks proration was not applied correctly.

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

- Fixed bug involving graphical display of Spellcard selection.
- Unzan meter no longer depletes from chip damage.
- Unzan meter now depletes at a slower rate.

=====================================
04/07/17 - Version 2017.04.07
=====================================

- Fixed gamebreaking glitch if opponent is KOed by some of Unzan's attacks.

=====================================
03/23/17 - Version 2017.03.23
=====================================

- Fixed issues with Unzan's animations during an opponent's pauses & superpauses.
- "Deadly Wind of Pentinence": Fixed debug error.

=====================================
03/16/17 - Version 2017.03.16
=====================================

- Unzan now vanishes when Ichirin is KOed.
- Raging Running Fist (Unzan Inactive): Unzan now disappears if Ichirin is hit during startup.
- Raging Running Fist: Fixed juggle flags.
- Handful of Floating Cloud: Fixed bug with dust effects not showing.
- Handful of Floating Cloud: Fixed scaling bugs with hand.
- "Deadly Wind of Penitence": Fixed scaling error on Unzan.
- "Thunderous Rage of an Angry Old Man": Fixed bug with dust effects not showing.
- "Thunderous Rage of an Angry Old Man": Fixed scaling bugs with hand.

=====================================
03/15/17 - Version 2017.03.15
=====================================

- First 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+z (6z) - Overhead [G]
- Ichirin does an overhead attack with her ring. If Unzan is active, Unzan slams his fist into the ground that causes
  a groundbounce.

* c (5c) - Summon Unzan [G]
- Summons/Desummons Unzan. Changes the properties of Ichirin's attacks. Can only be used if Unzan's meter is above 0.
  Once meter reaches 0, Unzan cannot be summoned until the meter recharges to full.

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

* B,DB,D + x/y/z (412x, 412y, or 412z) - Guard Cancel [G]
- Requires 1000 Power, can only be done during blockstun. Ichirin counterattacks using North Mountain Wind of Mercy.
  Cannot be used if Unzan is disabled, and will cause Unzan to become active if used while inactive.

* D,DF,F + x/y/z (236x, 236y, or 236z) - Returning Treasured Rings [G, Unzan Inactive]
- Ichirin tosses one of her rings at the opponent, which then returns to her after a short time. Button press
  determines the distance the ring travels before returning to Ichirin, as well as damage dealt.

* D,DF,F + x/y/z (236x, 236y, or 236z) - Raging Running Fist [G, Unzan Active]
- Ichirin summons Unzan to deliver a flurry of punches after distancing himself from Ichirin. Button press determines
  distance travelled.

* D,DB,B + x/y/z (214x, 214y, or 214z) - Hanging Cloud's Iron Hammer [G, Unzan Inactive]
- Ichirin calls forth Unzan's fist from the sky. Causes Groundbounce. Button press determines the distance of Unzan's fist.

* D,DB,B + x/y/z (214x, 214y, or 214z) - North Mountain Wind of Mercy [G, Unzan Active]
- Ichirin and Unzan lunge forward as the latter slams his fist down, causing a wallbounce. Button press determines
  distance travelled.

* F,D,DF + x/y/z (623x, 623y, or 623z) - Small Kamitate Cloud [G, Unzan Inactive]
- Ichirin summons Unzan at her position, who then emits electrical sparks from his fists. Ichirin can act as Unzan is attacking, 
  but will disappear if Ichirin is hit or summons Unzan. Button press determines the startup, as well as how fast Ichirin recovers.

* F,D,DF + x/y/z (623x, 623y, or 623z) - Handful of Floating Cloud [G, Unzan Active]
- Anti-air command grab. Unzan reaches skyward with his fist, clenching the opponent and slamming them into the ground with
  full force. Unblockable, but does not hit grounded opponents.

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

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

* D,DF,F,D,DF,F + x/y/z (236236x, 236236y, or 236236z) - Clenched Fist "Deadly Wind of Penitence"  [G]
- Unzan delivers a giant punch from offscreen. Hits OTG and causes wallslam on hit. If done while Unzan is inactive,
  Unzan will become active at the end of the attack.

* D,DB,B,D,DB,B + x/y/z (214214x, 214214y, or 214214z) - Cumulonimbus "Foreseeing Nyuudou Cloud" [G]
- Unzan performs a spinning lariat. Has startup invincibility. If done while Unzan is inactive, Unzan will become active
  at the end of the attack.

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

* D,DF,F,D,DF,F + x+y+z (236236xyz) - "King Kraken Strike" [G]
- Unzan delivers a flurry of full screen punches from his current position. If done while Unzan is inactive, Unzan will
  become active at the end of the attack.

* D,DB,B,D,DB,B + x+y+z (214214xyz) - "Thunderous Rage of an Angry Old Man" [G]
- Command Grab. Unzan grabs the opponent before shocking them and slamming them into the ground will full force. If done
  while Unzan is inactive, Unzan will become active at the end of the attack.


------------------
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
KON			- Sprites
DoomBowser 		- Additional fixes

Palette Contributors: 
- GarchompMatt
- DoomBowser
- IkuTronHD
- Gudine
- _DataDrain_

Beta Testers:
- Rodknee
- DoomBowser