- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
My "Photograph of Loved Ones" and "Portable Type Chart" Key Items that show the player images for 3 seconds on use show nothing then crash the game.
My "Portable Type Chart" Key Item, when used from the Bag, is supposed to show the player an image.
Common Event 70 is this:
Why isn't this working? Why does it just crash the game, and give me this error message about > = symbols that means nothing to me?
How can I get this to work? When it does work, it would be incredibly useful for a "Guide Book" item that shows a tutorial image, or a "Old Photograph" item that shows the player a picture of the player character and his/her family before they perished. So I wouldn't have to make two versions of the same picture I'd include one picture with both kids and their parents, stating the playable kid's the only survivor.
My "Portable Type Chart" Key Item, when used from the Bag, is supposed to show the player an image.
Code:
ItemHandlers::UseFromBag.add(:TYPECHART, proc { |item|
pbCommonEvent(70)
})
Common Event 70 is this:
Code:
Show picture: 40, "PokemonNewTypeMatchups,Upper Left,0,0,100%
Wait 180 frames
Erase Picture: 40
Why isn't this working? Why does it just crash the game, and give me this error message about > = symbols that means nothing to me?
Code:
[Pokémon Essentials version 20.1]
[v20.1 Hotfixes 1.0.2]
Exception: NoMethodError
Message: undefined method `>=' for true:TrueClass
Backtrace:
249:Item_Utilities:692:in `pbUseItem'
285:UI_Bag:499:in `block in pbStartScreen'
285:UI_Bag:462:in `loop'
285:UI_Bag:462:in `pbStartScreen'
279:UI_PauseMenu:196:in `block (2 levels) in <main>'
082:MessageConfig:574:in `pbFadeOutIn'
279:UI_PauseMenu:193:in `block in <main>'
279:UI_PauseMenu:124:in `block in pbStartPokemonMenu'
279:UI_PauseMenu:117:in `loop'
279:UI_PauseMenu:117:in `pbStartPokemonMenu'
How can I get this to work? When it does work, it would be incredibly useful for a "Guide Book" item that shows a tutorial image, or a "Old Photograph" item that shows the player a picture of the player character and his/her family before they perished. So I wouldn't have to make two versions of the same picture I'd include one picture with both kids and their parents, stating the playable kid's the only survivor.
Last edited: