mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-12 15:44:57 +00:00
Renamed some constants
This commit is contained in:
@@ -83,9 +83,9 @@ class PokeBattle_Battler
|
||||
|
||||
def updateSpirits()
|
||||
if $PokemonBag.pbQuantity(:ODDKEYSTONE)>=1 && @pokemon.hasType?(:GHOST)
|
||||
nbSpirits = pbGet(ODDKEYSTONE_NB_VARIABLE)
|
||||
nbSpirits = pbGet(VAR_ODDKEYSTONE_NB)
|
||||
if nbSpirits < 108
|
||||
pbSet(ODDKEYSTONE_NB_VARIABLE,nbSpirits+1)
|
||||
pbSet(VAR_ODDKEYSTONE_NB, nbSpirits+1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user