1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-16 02:43:02 +00:00

clearer documentation

This commit is contained in:
Alula 2020-12-08 13:56:43 +01:00
parent 084b1f09e2
commit ff0046abbd
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -265,10 +265,12 @@ pub enum OpCode {
ACH,
// ---- Cave Story+ (Switch) specific opcodes ----
/// <HM2, HMC for player 2
/// <HM2, HMC for non-executor player.
HM2,
/// <2MVxxxx, Move player 2, operand is either direction (for 0000-0003),
/// or event number/npc id/anything else?
/// <2MVxxxx, Put another player near the player who executed the event.
/// 0000 - puts player on left side of executor player
/// 0001 - puts player on right side of executor player
/// other values - Unknown purpose for now
#[strum(serialize = "2MV")]
S2MV,
/// <INJxxxx:yyyy:zzzz, Jumps to event zzzz if amount of item xxxx equals yyyy