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:
parent
8ffee85d2b
commit
4cb5152c28
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue