Pokebot
Pokemon FireRed bot
|
#include <list>
#include <stack>
#include <cstring>
#include <functional>
#include "Script.hh"
#include "Action/AAction.hh"
Go to the source code of this file.
Classes | |
class | VM |
struct | VM::ChoicePts |
Macros | |
#define | VM_FLAGS 0x900 |
#define | VM_VARS 0x100 |
#define | VM_TEMP 0x1F |
#define | VM_BANKS 0x04 |
#define | VM_BUFF 0x03 |
#define | VM_VAR_OFFSET 0x4000 |
#define | VM_TEMP_OFFSET 0x8000 |
#define | VM_LASTRESULT 0x800D |
#define | VM_IS_FLAG(x) ((x) < VM_FLAGS) |
#define | VM_IS_BANK(x) ((x) < VM_BANKS) |
#define | VM_IS_VAR(x) ((x) >= VM_VAR_OFFSET && (x) < VM_VAR_OFFSET + VM_VARS) |
#define | VM_IS_TEMP(x) ((x) >= VM_TEMP_OFFSET && (x) < VM_TEMP_OFFSET + VM_TEMP) |
#define | VM_BOUNDS_ERR(x) ("Warning: " x " 0x%x out of bounds\n") |
#define VM_BANKS 0x04 |
#define VM_BOUNDS_ERR | ( | x | ) | ("Warning: " x " 0x%x out of bounds\n") |
#define VM_BUFF 0x03 |
#define VM_FLAGS 0x900 |
#define VM_IS_BANK | ( | x | ) | ((x) < VM_BANKS) |
#define VM_IS_FLAG | ( | x | ) | ((x) < VM_FLAGS) |
#define VM_IS_TEMP | ( | x | ) | ((x) >= VM_TEMP_OFFSET && (x) < VM_TEMP_OFFSET + VM_TEMP) |
#define VM_IS_VAR | ( | x | ) | ((x) >= VM_VAR_OFFSET && (x) < VM_VAR_OFFSET + VM_VARS) |
#define VM_LASTRESULT 0x800D |
#define VM_TEMP 0x1F |
#define VM_TEMP_OFFSET 0x8000 |
#define VM_VAR_OFFSET 0x4000 |
#define VM_VARS 0x100 |