fix some player position variables

This commit is contained in:
Andy Newjack 2020-06-07 18:32:18 -03:00
parent 6c551b0902
commit 6fab461d51

View File

@ -124,12 +124,12 @@ pub struct PlayerChangedMap {
#[pso_message(0x1F)] #[pso_message(0x1F)]
pub struct PlayerChangedMap2 { pub struct PlayerChangedMap2 {
unknown1: u32, map_area: u32,
} }
#[pso_message(0x20)] #[pso_message(0x20)]
pub struct TellOtherPlayerMyLocation { pub struct TellOtherPlayerMyLocation {
unknown1: u32, map_area: u32,
x: f32, x: f32,
y: f32, y: f32,
z: f32, z: f32,
@ -212,9 +212,9 @@ pub struct AddItemToInventory {
pub struct InitializeSpeechNpc { pub struct InitializeSpeechNpc {
unknown1: u16, unknown1: u16,
unknown2: u16, unknown2: u16,
location: u32, x: f32,
location2: u32, z: f32,
unknown3: u32, unknown3: f32,
} }
#[pso_message(0x2D)] #[pso_message(0x2D)]
@ -295,8 +295,8 @@ pub struct PlayerLoadedIn {
#[pso_message(0x40)] #[pso_message(0x40)]
pub struct PlayerWalking { pub struct PlayerWalking {
x: f32, x: f32,
y: f32,
z: f32, z: f32,
unknown: f32,
} }
#[pso_message(0x42)] #[pso_message(0x42)]
@ -402,9 +402,9 @@ pub struct TalkToNpc {
#[pso_message(0x55)] #[pso_message(0x55)]
pub struct PlayerWarped { pub struct PlayerWarped {
unknown1: u32,
x: f32, x: f32,
y: f32, y: f32,
z: f32,
} }
#[pso_message(0x58)] #[pso_message(0x58)]