![]() |
Adding Portable Clock on Ruby
Guys, I have the problem about clock.
Here it goes: I want to make portable clock (usable outside of your house, and on your bag). I used THIS patch (gbatemp.net). The clock reset and view script is like this: Spoiler:
But However after I edits a ???????? item between Contest Pass and Wailmer Pail with G3TOOLS , The game froze when I use Clock! So far, I did this Spoiler:
Please Help me! Is there's something wrong with the script or I need to make another script? |
That would be because scripts cannot be run by default from the "field usage" property. That property is so the engine can call an ASM function for the usage.
If you want to run a script, you'll need to write some ASM that calls and executes the script. There may be some existing code out there, but given you're using Ruby... it may be difficult to find. If you don't even know what I mean by this, well... your clock isn't going to happen. |
Quote:
EDIT: I meant something like a Contest Pass or a ticket, it would be easy. |
| All times are GMT -8. The time now is 2:29 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.