65 lines
1.5 KiB
OpenEdge ABL
65 lines
1.5 KiB
OpenEdge ABL
/********************************************************************************
|
|
-------------------------
|
|
Ultra 64 MARIO Brothers
|
|
-------------------------
|
|
|
|
File : patheffectmowan.s
|
|
Description :
|
|
Date : 1995.
|
|
Author : H.yajima
|
|
|
|
********************************************************************************/
|
|
|
|
|
|
/*################*/
|
|
#ifdef ASSEMBLER
|
|
/*################*/
|
|
|
|
e_effectmowan:
|
|
p_initialize(option)
|
|
p_setbit(flag,stf_moveON )
|
|
p_program(s_playermowan)
|
|
p_wait(1)
|
|
p_killobj
|
|
|
|
/*################*/
|
|
#else
|
|
/*################*/
|
|
/********************************************************************************
|
|
C Program (effectmowan)
|
|
********************************************************************************/
|
|
|
|
static EffectRecord playermowan_effect = {
|
|
EFFECT_MOWAN,
|
|
20, /* effect count */
|
|
S_hiteffect, /* effect character */
|
|
20, /* ================ */
|
|
10,5, /* speed F */
|
|
0,0, /* speed Y */
|
|
0, /* gravity */
|
|
30, /* air fric */
|
|
30.0f, /* ================ */
|
|
1.5f /* ================ */
|
|
};
|
|
|
|
extern void s_playermowan(void)
|
|
{
|
|
s_clear_motherbit(stf_mowan);
|
|
s_effectmowan();
|
|
}
|
|
|
|
extern void s_effectmowan(void)
|
|
{
|
|
s_makeeffect_chiri(&playermowan_effect);
|
|
}
|
|
|
|
/*################*/
|
|
#endif
|
|
/*################*/
|
|
/*===============================================================================
|
|
end end end end end end end end
|
|
===============================================================================*/
|
|
|
|
|
|
|