mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-03-23 10:29:18 +00:00
ArmsItem.tsc is loaded ONLY in inventory lol
This commit is contained in:
parent
74e4c79cc2
commit
124f793e4c
|
@ -28,10 +28,8 @@ impl Scene for LoadingScene {
|
|||
let npc_table = NPCTable::load_from(filesystem::open(ctx, [&state.base_path, "/npc.tbl"].join(""))?)?;
|
||||
state.npc_table = npc_table;
|
||||
let head_script = TextScript::load_from(filesystem::open(ctx, [&state.base_path, "/Head.tsc"].join(""))?)?;
|
||||
let arms_item_script = TextScript::load_from(filesystem::open(ctx, [&state.base_path, "/ArmsItem.tsc"].join(""))?)?;
|
||||
state.textscript_vm.set_global_script(head_script);
|
||||
state.textscript_vm.append_global_script(arms_item_script);
|
||||
|
||||
|
||||
let mut next_scene = GameScene::new(state, ctx, 13)?;
|
||||
next_scene.player.x = 10 * 16 * 0x200;
|
||||
next_scene.player.y = 8 * 16 * 0x200;
|
||||
|
|
Loading…
Reference in a new issue