Skip to content

Instantly share code, notes, and snippets.

@andythenorth
Created July 17, 2021 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andythenorth/4151bc2b48a29fce13e8f4c64de592f1 to your computer and use it in GitHub Desktop.
Save andythenorth/4151bc2b48a29fce13e8f4c64de592f1 to your computer and use it in GitHub Desktop.
switch (FEAT_INDUSTRIES, SELF, store_perm_alt, storage_number, value,
[
STORE_PERM(
value,
storage_number,
)
]) {
return;
}
@andythenorth
Copy link
Author

// Name: store_perm_alt
// storage_number : register 80
// value : register 81
2990 * 22 02 0A F5 89
7D 81 20 \dxFFFFFFFF // value
\2psto 7D 80 00 \dxFFFFFFFF // storage_number
\b0
\wx8000 // Return computed value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment