sonicfan7895
Just a dude, I guess
- 120
- Posts
- 14
- Years
- He/Him/His
- Akala Island, Alola
- Seen Feb 22, 2025
So yet another thread regarding to the subject has been killed.
This thread is a continuation of the thread linked below:
Re-Visintg the Addition of the Triple-Type, started by Black Temple Guardian.
So to address the points that you, Black Temple Guardian, made in the very last posts of that thread:
This doesn't appear to work either. When I went and copied it into my Compiler script (thinking it really was the right one), I got errors upon moves being used in battle. And I didn't just test this on White Kyurem; I went in and changed Genesect to add the types based on what Drive it holds, and they all do the same errors. Even on normal Pokemon with only two types. They get errors too.
Even with my old scripts in the Compiler every damaging move is broken. So we need to come up with a fix for this. Have you come up with a fix in the last six months your last thread has been dead?
This thread is a continuation of the thread linked below:
Re-Visintg the Addition of the Triple-Type, started by Black Temple Guardian.
So to address the points that you, Black Temple Guardian, made in the very last posts of that thread:
The Compiler script lists a number of free bytes that are used. One of them is 17, which is what I used, I believe. So if you use 17, that should at least fix that issue."pbDexDataOffset(dexdata,@species,10)" should be some number other than 10 as that's already taken
There may have been a typo on my part, so I apologize if that was the case. I did however correct it later, but without posting it the day after. So again, my apologies.Your summary code also doesn't work right; with just two types it still shows the third type. This should address that:
[...]
EDIT: I have solved the problem I was having! It was with the compiler code I was back then blindly copying. It was wrong.
Instead it should be this:
Code:if !lastsection["Type3"] || lastsection["Type3"]=="" if !lastsection["Type2"] || lastsection["Type2"]=="" if !lastsection["Type1"] || lastsection["Type1"]=="" raise _INTL("No Pokémon type is defined in section {2} (PBS/pokemon.txt)",key,sectionDisplay) if hash==requiredtypes next end lastsection["Type2"]=lastsection["Type1"].clone end lastsection["Type3"]=lastsection["Type2"].clone end
It's amazing what a break and some experience can do.
This doesn't appear to work either. When I went and copied it into my Compiler script (thinking it really was the right one), I got errors upon moves being used in battle. And I didn't just test this on White Kyurem; I went in and changed Genesect to add the types based on what Drive it holds, and they all do the same errors. Even on normal Pokemon with only two types. They get errors too.
Even with my old scripts in the Compiler every damaging move is broken. So we need to come up with a fix for this. Have you come up with a fix in the last six months your last thread has been dead?