You are not logged in.
I'm thinking of changing its type to Ground for Beta 2.1 (more on that in a different thread) of my TCNS. But first, I'm going to need to make sure it can still hit Flying-types despite the change to Ground-type, as in Gen II. How do you make the game ignore type immunities for a single attack?
As usual, the answer is you code the functionality. You ask the question as if there is a magic key, but the truth is you just write the code that accomplishes what you are asking for.
If you want more useful answers from members like me and others, then you have to make an attempt at solving the problem, at the bare minimum, by coming up with a strategy. This way, we can give you advice and critique on the strategy you've laid out.
If all you ask is "how" then the answer is gonna be "code it".
To begin coming up with a strategy to solve this problem, it's a good idea to start by taking a look at the asm routine that usually handles the data in question, in this case being type match-up effectiveness data.
If you have no idea how the original routine accomplishes its task, then there's no way you're gonna be able to magically figure out the changes needed to produce the desired functionality.
Take this post of yours for example. You at least identified the piece of code that you knew was responsible for the behavior that you were trying to change. That's a good first step.
Ideally, you should have had some commentary demonstrating that you struggled with the issue on your own for a while and are stuck, instead of immediately resorting to asking how to do it.
I want to help you, but you have to put more effort into your posts.
It's okay to have questions, but they need to be developed questions.
Total number of registered users: 7000+
Total number of active users: ~12
Perhaps you can add a new type only for that move, that acts as the 'Normal' type but it's named 'Ground' too?
Or modify the immunity code to check if sand attack was the last move used before applying it.
Last edited by Montblanc (2016-02-28 00:24:05)