Adding New Moves and Creating New Move Effects
View Single Post
March 9th, 2013 (05:18 AM). Edited March 9th, 2013 by MrDollSteak.
Formerly known as 11bayerf1
Join Date: Dec 2008
Location: Hong Kong
Quote originally posted by
This won't work as intended. You see, command 2A checks literal values, not bitwise checks (which is how the weather bits work). You're asking it if it's 0x4 than 0x60 (I forget what 0x4 actually is).
What you should be doing is ANDing the address with those bits. However, to my knowledge, there are no such commands in the vanilla game.
As such, your script will only work under very specific circumstances, (when the weather bits are set to 0x60) and not under all Sunny weather types. (It's possible to only have 0x20 set, or only 0x40 set).
View original post
Don't worry, I tested it before posting and have had no problems. I got the code from Solarbeam and just changed the information contained at the pointers. I've used it under Sunny Day, Drought Sunny Day, Plain Weather, Rain, Sandstorm and Hail, on every turn, and so far it works 100%
MrDollSteak's Decap. and Attack Rombase (Version 1.5a)
Gen VI: DS-Style 64x64 Pokemon Sprite Resource
Sugimori Palettes: DS-style 64x64 Pokémon Sprite Resource
Ability Resource Thread
Adding New Custom Particles
Adding New Types into Emerald
View Public Profile
Send a private message to MrDollSteak
Find all posts by MrDollSteak
Find threads started by MrDollSteak
Ignore Posts by MrDollSteak