1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 00:46:34 +00:00

Fix Pokemon Trainer: Pokemon switch and save states are functional

This commit is contained in:
jugeeya 2022-11-11 08:46:55 -08:00 committed by GitHub
parent 8ffee85d2b
commit 4cb5152c28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,8 +128,10 @@ pub unsafe fn get_param_int(
return Some(0);
}
if param_hash == hash40("rebirth_move_frame_trainer") {
if is_killing() {
return Some(0);
}
}
if param_hash == hash40("rebirth_wait_frame") {
return Some(0);
}
@ -142,9 +144,11 @@ pub unsafe fn get_param_int(
}
if param_type == hash40("param_mball") {
if param_hash == hash40("change_fly_frame") {
if is_killing() {
return Some(0);
}
}
}
None
}