Reverse Engineering: Difference between revisions

Remove fabricated shop price: ug[i][5] is never read for upgrades (dead data)
Trivia: reshuffle can roll your current gun (only path in the game); type reroll + once-enforcement, from gun_module code
 
Line 11: Line 11:


'''Reverse Engineering''' (リバース エンジニアリング) is an [[Upgrades|upgrade]]. Shoot a gunmodule to reshuffle it once.
'''Reverse Engineering''' (リバース エンジニアリング) is an [[Upgrades|upgrade]]. Shoot a gunmodule to reshuffle it once.
== Trivia ==
* Reverse Engineering is the only way to be offered the weapon you are already holding. A [[Gun Modules|gun module]]'s natural roll explicitly rerolls until it differs from the player's current gun (<code>global.pGunType</code>), but the reshuffle roll only excludes the module's ''own previous contents'' (<code>moduleNum</code>), so it is free to land on your equipped weapon.
* The reshuffle also rerolls whether the module is a battery or heart type as a plain 50/50, ignoring the low-HP heart bias that applies when a module first spawns.
* "Once" is enforced by setting the reshuffled module's HP to 9999, so it can no longer be shot down a second time.


[[Category:Upgrades]]
[[Category:Upgrades]]