terrain_types = {
    "Normal A": 0x00,
    "Normal B": 0x01,
    "Snow": 0x02,
    "Sand": 0x03,
    "Haunted House": 0x04,
    "Water Level": 0x05,
    "Slippery Slide": 0x06,
}

default_dialog_ID = {
    "BOB": 0x00,
    "WF": 0x1E,
    "BFC": 0x5A,
    "VC": 0x81,
    "MC": 0x82,
    "WC": 0x83,
}

L_LOAD_RAW_JUMP0 = 0x00
L_LOAD_RAW_JUMP1 = 0x01
L_END = 0x02
L_DELAY1 = 0x03
L_DELAY2 = 0x04
L_JUMP = 0x05
L_PUSH = 0x06
L_POP = 0x07
L_PUSH_16 = 0x08
L_POP_16 = 0x09
L_PUSH_00 = 0x0A
L_COND_POP = 0x0B
L_COND_JUMP = 0x0C
L_COND_PUSH = 0x0D
L_COND_SKIP = 0x0E
L_SKIP = 0x0F
L_NOOP = 0x10
L_SET_ACC_ASM = 0x11
L_ACTIVE_SET_ACC = 0x12
L_SET_ACC = 0x13
L_POOL_PUSH = 0x14
L_POOL_POP = 0x15
L_LOAD_ROM_RAM = 0x16
L_LOAD_ROM_SEG = 0x17
L_LOAD_MIO0_SEG = 0x18
L_MARIO_DEMO = 0x19
L_LOAD_MIO0_TEX = 0x1A
L_LOAD_START = 0x1B
L_MEM_CLEANUP = 0x1C
L_LOAD_END = 0x1D
L_POOL_ALLOC = 0x1E
L_AREA_START = 0x1F
L_AREA_END = 0x20
L_LOAD_POLY_WO_GEO = 0x21
L_LOAD_POLY_W_GEO = 0x22
L_23 = 0x23
L_PLACE_OBJECT = 0x24
L_LOAD_MARIO = 0x25
L_WARP_CONNECT = 0x26
L_WARP_PAINTING = 0x27
L_WARP_AREA = 0x28
L_29 = 0x29
L_2A = 0x2A
L_SET_DEFAULT_MARIO_POS = 0x2B
L_2C = 0x2C
L_2D = 0x2D
L_LOAD_COLLISION = 0x2E
L_RENDER_AREA = 0x2F
L_SHOW_DIALOG = 0x30
L_SET_DEFAULT_TERRAIN = 0x31
L_NOOP2 = 0x32
L_FADE_OVERLAY = 0x33
L_BLACKOUT_SCREEN = 0x34
L_35 = 0x35
L_SET_MUSIC_SCREEN = 0x36
L_SET_MUSIC_LEVEL = 0x37
L_38 = 0x38
L_PLACE_MACRO_OBJECT = 0x39
L_3A = 0x3A
L_JET_STREAM = 0x3B
L_3C = 0x3C
