Cheat Mod Ren'Py Pokemon Academy Life Forever Cheat Injector [v1.3] [Sleepingkirby]

sleepingkirby

Active Member
Aug 8, 2017
544
771
The OP has been updated for the new version 1.2. If you're someone that applied the _test.bat from this post, there's no need to reapply as this is the exact same file.
 

Zaza666888

New Member
May 24, 2024
1
0
```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 153, in script
red "I--{w=0.5}Wha--"
File "game/sayers.rpy", line 76, in __call__
return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1794, in execute
hbox:
File "game/screens.rpy", line 1811, in execute
grid 4 7:
File "game/screens.rpy", line 1841, in execute
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1841, in keywords
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1842, in <module>
action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
File "game/classes/pokemon.rpy", line 883, in GetStat
if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 153, in script
red "I--{w=0.5}Wha--"
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 2557, in execute
Say.execute(self)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 615, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\exports.py", line 1493, in say
who(what, *args, **kwargs)
File "game/sayers.rpy", line 76, in __call__
return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1391, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1042, in do_display
display_say(who,
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 738, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\ui.py", line 301, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2165, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
[Previous line repeated 1 more time]
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 480, in visit_all
callback(self)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 491, in per_interact
self.update()
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 697, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1794, in execute
hbox:
File "game/screens.rpy", line 1811, in execute
grid 4 7:
File "game/screens.rpy", line 1841, in execute
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1841, in keywords
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1842, in <module>
action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
File "game/classes/pokemon.rpy", line 883, in GetStat
if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Pokemon Academy Life Forever 5.11.2024
Fri May 24 19:56:54 2024
```
Bro i need help when i go to my pokemon this error occurs i cant change my pokemones value
 

sleepingkirby

Active Member
Aug 8, 2017
544
771
```
I'm sorry, but an uncaught exception occurred.

While running game code:
File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 153, in script
red "I--{w=0.5}Wha--"
File "game/sayers.rpy", line 76, in __call__
return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1794, in execute
hbox:
File "game/screens.rpy", line 1811, in execute
grid 4 7:
File "game/screens.rpy", line 1841, in execute
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1841, in keywords
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1842, in <module>
action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
File "game/classes/pokemon.rpy", line 883, in GetStat
if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 153, in script
red "I--{w=0.5}Wha--"
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 2557, in execute
Say.execute(self)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 615, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\exports.py", line 1493, in say
who(what, *args, **kwargs)
File "game/sayers.rpy", line 76, in __call__
return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1391, in __call__
self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1042, in do_display
display_say(who,
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 738, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\ui.py", line 301, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2165, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in interact_core
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
d.visit_all(callback, seen)
[Previous line repeated 1 more time]
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 480, in visit_all
callback(self)
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in <lambda>
root_widget.visit_all(lambda d : d.per_interact())
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 491, in per_interact
self.update()
File "C:\Users\chees\Downloads\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 697, in update
self.screen.function(**self.scope)
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1769, in execute
screen mondata(pkmn, showtip = True):
File "game/screens.rpy", line 1794, in execute
hbox:
File "game/screens.rpy", line 1811, in execute
grid 4 7:
File "game/screens.rpy", line 1841, in execute
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1841, in keywords
textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
File "game/screens.rpy", line 1842, in <module>
action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
File "game/classes/pokemon.rpy", line 883, in GetStat
if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Pokemon Academy Life Forever 5.11.2024
Fri May 24 19:56:54 2024
```
Bro i need help when i go to my pokemon this error occurs i cant change my pokemones value
I'm pretty sure that's not my injector. CurrentWeather is defined here:

Code:
./game/battlescripts/battle.rpy:17:    CurrentWeather = currentWeather#None or (string, int)
./game/battlescripts/battle.rpy:662:    CurrentWeather = None
./game/battlescripts/battle.rpy:1206:        global CurrentWeather
./game/battlescripts/battle.rpy:1207:        if (CurrentWeather != None and WeatherIs(weather) or AbilityOnField("Cloud Nine")):
./game/battlescripts/battle.rpy:1210:            CurrentWeather = (weather, countdown)
./game/battlescripts/battle.rpy:1490:        global CurrentWeather
./game/battlescripts/battle.rpy:1558:        if (CurrentWeather != None):
./game/battlescripts/battle.rpy:1559:            weather = CurrentWeather[0]
./game/battlescripts/battle.rpy:1560:            weathercount = CurrentWeather[1]
./game/battlescripts/battle.rpy:1572:                    CurrentWeather = (weather, weathercount)
./game/battlescripts/battle.rpy:1576:                    CurrentWeather = None
./game/battlescripts/battle.rpy:1586:                    CurrentWeather = (weather, weathercount)
./game/battlescripts/battle.rpy:1590:                    CurrentWeather = None
./game/battlescripts/battle.rpy:1601:                    CurrentWeather = (weather, weathercount)
./game/battlescripts/battle.rpy:1605:                    CurrentWeather = None
./game/battlescripts/battle.rpy:1620:                    CurrentWeather = (weather, weathercount)
./game/battlescripts/battle.rpy:1624:                    CurrentWeather = None
./game/battlescripts/battle.rpy:1635:                    CurrentWeather = (weather, weathercount)
./game/battlescripts/battle.rpy:1639:                    CurrentWeather = None
My script doesn't modify any of those files. It only modifies , which wouldn't interfer with any of those files.

As for the pokemon values, can you send me a full screenshot of which values you're referring to?
 

hirdorwin

New Member
Oct 19, 2017
2
1
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 154, in script
    red "You're not pulling my leg, are you?"
  File "game/sayers.rpy", line 76, in __call__
    return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1794, in execute
    hbox:
  File "game/screens.rpy", line 1811, in execute
    grid 4 7:
  File "game/screens.rpy", line 1841, in execute
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1841, in keywords
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1842, in <module>
    action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
  File "game/classes/pokemon.rpy", line 883, in GetStat
    if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
  File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
    return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 154, in script
    red "You're not pulling my leg, are you?"
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 2557, in execute
    Say.execute(self)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 615, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\exports.py", line 1493, in say
    who(what, *args, **kwargs)
  File "game/sayers.rpy", line 76, in __call__
    return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1391, in __call__
    self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1042, in do_display
    display_say(who,
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 738, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  [Previous line repeated 1 more time]
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 480, in visit_all
    callback(self)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 491, in per_interact
    self.update()
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1794, in execute
    hbox:
  File "game/screens.rpy", line 1811, in execute
    grid 4 7:
  File "game/screens.rpy", line 1841, in execute
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1841, in keywords
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1842, in <module>
    action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
  File "game/classes/pokemon.rpy", line 883, in GetStat
    if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
  File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
    return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Pokemon Academy Life Forever 5.11.2024
Sun Jun  9 13:49:55 2024

I got this error when i move the cursor to my pokemon to see is stat
 

sleepingkirby

Active Member
Aug 8, 2017
544
771
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 154, in script
    red "You're not pulling my leg, are you?"
  File "game/sayers.rpy", line 76, in __call__
    return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1794, in execute
    hbox:
  File "game/screens.rpy", line 1811, in execute
    grid 4 7:
  File "game/screens.rpy", line 1841, in execute
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1841, in keywords
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1842, in <module>
    action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
  File "game/classes/pokemon.rpy", line 883, in GetStat
    if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
  File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
    return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/scenes/1_April/010405Monday/010405secondhomeroom.rpy", line 154, in script
    red "You're not pulling my leg, are you?"
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 2557, in execute
    Say.execute(self)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\ast.py", line 615, in execute
    renpy.exports.say(who, what, *args, **kwargs)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\exports.py", line 1493, in say
    who(what, *args, **kwargs)
  File "game/sayers.rpy", line 76, in __call__
    return Character(name=formatname, color=formatcolor, image=self.image, ctc="ctc_blink", ctc_position="fixed", callback=formatcallback, dynamic=dynamic)(formatwhat, **kwargs)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1391, in __call__
    self.do_display(who, what, cb_args=self.cb_args, dtt=dtt, **display_args)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 1042, in do_display
    display_say(who,
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\character.py", line 738, in display_say
    rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\ui.py", line 301, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2165, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, pause_modal=pause_modal, **kwargs) # type: ignore
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in interact_core
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\displayable.py", line 431, in visit_all
    d.visit_all(callback, seen)
  [Previous line repeated 1 more time]
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 480, in visit_all
    callback(self)
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\core.py", line 2683, in <lambda>
    root_widget.visit_all(lambda d : d.per_interact())
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 491, in per_interact
    self.update()
  File "C:\Nouveau dossier (2)\PokemonAcademyLifeForever-5.11.2024-win\renpy\display\screen.py", line 697, in update
    self.screen.function(**self.scope)
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1769, in execute
    screen mondata(pkmn, showtip = True):
  File "game/screens.rpy", line 1794, in execute
    hbox:
  File "game/screens.rpy", line 1811, in execute
    grid 4 7:
  File "game/screens.rpy", line 1841, in execute
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1841, in keywords
    textbutton "{size=40}" + str(pkmn.GetStat(Stats.SpecialAttack, triggerAbilities=False, absolute=True)) xalign .5 ysize 20 yanchor -7:
  File "game/screens.rpy", line 1842, in <module>
    action SetDict(pkmn.Stats, Stats.SpecialAttack, pkmn.GetStat(Stats.SpecialAttack) + 1 )
  File "game/classes/pokemon.rpy", line 883, in GetStat
    if (WeatherIs("sunny") and self.HasAbility("Solar Power", triggerAbilities)):
  File "game/battlescripts/battlehelpers.rpy", line 128, in WeatherIs
    return (CurrentWeather != None and CurrentWeather[0] == weather) and (ignoreairlock or not AbilityOnField("Cloud Nine"))
NameError: name 'CurrentWeather' is not defined

Windows-10-10.0.22631 AMD64
Ren'Py 8.2.0.24012702
Pokemon Academy Life Forever 5.11.2024
Sun Jun  9 13:49:55 2024

I got this error when i move the cursor to my pokemon to see is stat
Oh, that's interesting. It may be my fault, but it really shouldn't be.

Short version: I would report to the game dev that the variable "CurrentWeather" is not defined globally or, at least in the scope of "game/battlescripts/battlehelpers.rpy" in line 128. Variables like that should be initialized globally as soon as possible.

Long version: My cheat inject looks up the special attack of a pokemon using the game's own GetStat() functon. Specifically to get the special attack of a pokemon. The special attack of a pokemon, depends on whether or not the pokemon has the ability "solar power" and what weather it is currently. You've entire entered a part in the game that doesn't have weather or are too early in the game where the variable for current weather is not defined at all. Meaning that, most likely, the dev wasn't expecting for people to call this funcion at this point, place or time in the game or this was a deliberate choice to not have the variable initialized. I might be able to engineer a workaround for this, but a workarounds, in general are very problem specific and, without knowing the lifespan of the program, can cause additional problems in the future. The best solution, and the standard practice within programming going back to C (not even C++. Just C), is to initialize all variables, especially global ones (even though global variables are not considered good practice but acceptable under certain conditions.) as soon as possible to avoid this very thing.

Anyways, I would ask the dev to fix this first, if possible. Because, chances are, other people will eventually run into this with or with the cheat, sooner or later, as the game continues to get new content.
 
  • Like
Reactions: hirdorwin

hirdorwin

New Member
Oct 19, 2017
2
1
i just checked with a save farther in the game and it work. the error i got just after i received the starter it was probably too early
 
  • Like
Reactions: sleepingkirby

sleepingkirby

Active Member
Aug 8, 2017
544
771
i just checked with a save farther in the game and it work. the error i got just after i received the starter it was probably too early
I would still send it to the dev. As I mentioned previously, this might be a problem later. Good programming practices are there for a reason.
 
  • Like
Reactions: hirdorwin

Shinji akutami

New Member
Jun 30, 2024
1
0
well hello!
can i ask if there was any other way for me to download this other then pixeldrain? (its banned in my country)
 

sleepingkirby

Active Member
Aug 8, 2017
544
771
What about a way to change nature, gender, & Ability?
Ability and nature are a no go. You'll notice that the cheat injector always uses the game's GUI to make implement cheats. There's no clean GUI way to bring up a whole new menu for someone to select from all the possible natures and/or abilities. Even less so the option to inject logic to detect the current nature and/or ability to do a toggle. For that, it's better to have a full mod instead of a cheat injector. But mods like that can easily break on updates and require a lot of attention, which is why I use the cheat injector method.

Gender might be possible, but janky. I'm kinda busy at the moment, but if enough people really want it, I'll consider it.
 

TFFBladez

Active Member
Oct 10, 2020
710
231
Ability and nature are a no go. You'll notice that the cheat injector always uses the game's GUI to make implement cheats. There's no clean GUI way to bring up a whole new menu for someone to select from all the possible natures and/or abilities. Even less so the option to inject logic to detect the current nature and/or ability to do a toggle. For that, it's better to have a full mod instead of a cheat injector. But mods like that can easily break on updates and require a lot of attention, which is why I use the cheat injector method.

Gender might be possible, but janky. I'm kinda busy at the moment, but if enough people really want it, I'll consider it.
Cool was wondering also are the IV's / EV's suppose to go over the max amount? And is click the IV's 1 by 1 the only one to raise them or is there something like Shift click to set it to the max value?
 

sleepingkirby

Active Member
Aug 8, 2017
544
771
Cool was wondering also are the IV's / EV's suppose to go over the max amount? And is click the IV's 1 by 1 the only one to raise them or is there something like Shift click to set it to the max value?
Correct. There's no checks in place to what the values can be. You can raise them beyond their max amounts. This was done on purpose.
No, there's no shift+click to raise it by an increased amount. I don't think renpy even supports that on a button element.
 

TFFBladez

Active Member
Oct 10, 2020
710
231
Correct. There's no checks in place to what the values can be. You can raise them beyond their max amounts. This was done on purpose.
No, there's no shift+click to raise it by an increased amount. I don't think renpy even supports that on a button element.
Sorry for all the post I found this and am looking into it a bit at a time. The time reset option. when using it it sets me back to the battle class with Cheren not the first choice of elective per day. Is it suppose to skip the first elective and only give the 2nd or is it because I am doing it on a day with battle class it's acting this way.
 

sleepingkirby

Active Member
Aug 8, 2017
544
771
Sorry for all the post I found this and am looking into it a bit at a time. The time reset option. when using it it sets me back to the battle class with Cheren not the first choice of elective per day. Is it suppose to skip the first elective and only give the 2nd or is it because I am doing it on a day with battle class it's acting this way.
Neither. The way the game keeps track of the time of day is with a variable called "timeofday". All my cheat does is set the value of that to "morning". That's all it does. Depending on what day you're on, what event is playing, etc. this can have different effects and the game can take it different ways.
 

TFFBladez

Active Member
Oct 10, 2020
710
231
Neither. The way the game keeps track of the time of day is with a variable called "timeofday". All my cheat does is set the value of that to "morning". That's all it does. Depending on what day you're on, what event is playing, etc. this can have different effects and the game can take it different ways.
What about the actual trainer traits?
 

sleepingkirby

Active Member
Aug 8, 2017
544
771
What about the actual trainer traits?
If you're talking about things like patience, charm, knowledge, wit, etc. I've actually tried before making 1.0. That part of the GUI is a custom element that has no interact-able equivalent. Probably spent a few hours looking for alternatives to no avail.