Skip to content

Commit ce6eb95

Browse files
Remove Gumshoe
1 parent f8a16c8 commit ce6eb95

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

fighters/duckhunt/src/acmd/specials.rs

+11-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
use super::*;
22

3+
#[acmd_script( agent = "duckhunt", script = "game_specialhi" , category = ACMD_GAME , low_priority)]
4+
unsafe fn duckhunt_special_hi_game(fighter: &mut L2CAgentBase) {
5+
let lua_state = fighter.lua_state_agent;
6+
let boma = fighter.boma();
7+
frame(lua_state, 3.0);
8+
if is_excute(fighter) {
9+
WorkModule::on_flag(boma, *FIGHTER_DUCKHUNT_INSTANCE_WORK_ID_FLAG_REQUEST_SPECIAL_HI_CANCEL);
10+
}
11+
12+
}
13+
314
#[acmd_script( agent = "duckhunt" , scripts = ["game_specialairlw", "game_speciallw"], category = ACMD_GAME , low_priority)]
415
unsafe fn duckhunt_special_lw_game(fighter: &mut L2CAgentBase) {
516
let lua_state: u64 = fighter.lua_state_agent;
@@ -52,15 +63,7 @@ unsafe fn duckhunt_special_s_game(fighter: &mut L2CAgentBase) {
5263

5364
pub fn install() {
5465
install_acmd_scripts!(
55-
//gumshoe {{{
5666
duckhunt_special_hi_game,
57-
duckhunt_special_hi2_game,
58-
duckhunt_special_hi3_game,
59-
duckhunt_special_hi_effect,
60-
duckhunt_special_hi_sound,
61-
duckhunt_special_hi_expression,
62-
reticle_special_hi_game,
63-
//gumshoe }}}
6467
duckhunt_special_n_game,
6568
duckhunt_special_lw_game,
6669
duckhunt_special_s_game,

0 commit comments

Comments
 (0)