ootAI/dolphin.ml

12 lines
493 B
OCaml

open import "prelude.ml"
module Dolphin = struct
external val read_value_8 : int -> int = "ReadValue8"
external val read_value_16 : int -> int = "ReadValue16"
external val read_value_32 : int -> int = "ReadValue32"
external val read_value_float : int -> float = "ReadValueFloat"
external val read_value_string : int -> int -> string = "ReadValueString"
external val msg_box : string -> int -> () = "MsgBox"
external val set_screen_text : string -> () = "SetScreenText"
end