All pastes #116035 Raw Edit

Stuff

public text v1 · immutable
·published 2006-08-05 01:22 UTC
rendered paste body
class 1 summon_physical_buffer_use_3skill : default_npc
parameter_define_begin
	int Buff1 1031169
	int Buff2 1031169
	int DDMagic 1031169
parameter_define_end
handler 13 8	//  CREATED
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 20.000000
	func_call 184614934	//  func[AddPetDefaultDesire_Follow]
	shift_sp -1
	shift_sp -1
handler_end

handler 0 8	//  NO_DESIRE
	variable_begin
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_const 20.000000
	func_call 184614934	//  func[AddPetDefaultDesire_Follow]
	shift_sp -1
	shift_sp -1
handler_end

handler 32 292	//  MENU_SELECTED
	variable_begin
		"talker"
		"ask"
		"reply"
		"action_id"
		"i0"
		"c0"
		"so0"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  action_id
	push_const 256
	add
	fetch_i4
	push_reg_sp
	fetch_i
	push_const 1007
	equal
	branch_false L10820
L10819
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter Buff1
	func_call 184615128	//  func[Skill_GetConsumeMP]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  sm
	push_const 544
	add
	fetch_i	//  mp
	push_const 400
	add
	fetch_d
	less
	push_reg_sp
	fetch_i
	branch_false L10821
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter Buff1
	func_call 184615127	//  func[Skill_GetConsumeHP]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  sm
	push_const 544
	add
	fetch_i	//  hp
	push_const 392
	add
	fetch_d
	less
	and
	push_reg_sp
	fetch_i
	branch_false L10821
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter Buff1
	func_call 184615133	//  func[Skill_InReuseDelay]
	shift_sp -1
	push_const 0
	equal
	and
L10821
	branch_false L10823
L10822
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  master
	push_const 552
	add
	fetch_i	//  id
	push_const 36
	add
	fetch_i4
	push_parameter Buff1
	push_const 0
	push_event	//  reply
	push_const 164
	add
	fetch_i4
	push_event	//  ask
	push_const 160
	add
	fetch_i4
	push_const 1000000
	push_const 0
	func_call 185008147	//  func[AddUseSkillDesireEx]
	shift_sp -7
	shift_sp -1
L10823
	jump L10818
	jump L10824
L10820
	push_reg_sp
	fetch_i
	push_const 1008
	equal
	branch_false L10825
L10824
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter Buff2
	func_call 184615128	//  func[Skill_GetConsumeMP]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  sm
	push_const 544
	add
	fetch_i	//  mp
	push_const 400
	add
	fetch_d
	less
	push_reg_sp
	fetch_i
	branch_false L10826
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter Buff2
	func_call 184615127	//  func[Skill_GetConsumeHP]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  sm
	push_const 544
	add
	fetch_i	//  hp
	push_const 392
	add
	fetch_d
	less
	and
	push_reg_sp
	fetch_i
	branch_false L10826
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter Buff2
	func_call 184615133	//  func[Skill_InReuseDelay]
	shift_sp -1
	push_const 0
	equal
	and
L10826
	branch_false L10828
L10827
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  master
	push_const 552
	add
	fetch_i	//  id
	push_const 36
	add
	fetch_i4
	push_parameter Buff2
	push_const 0
	push_event	//  reply
	push_const 164
	add
	fetch_i4
	push_event	//  ask
	push_const 160
	add
	fetch_i4
	push_const 1000000
	push_const 0
	func_call 185008147	//  func[AddUseSkillDesireEx]
	shift_sp -7
	shift_sp -1
L10828
	jump L10818
	jump L10829
L10825
	push_reg_sp
	fetch_i
	push_const 1009
	equal
	branch_false L10830
L10829
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter DDMagic
	func_call 184615128	//  func[Skill_GetConsumeMP]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  sm
	push_const 544
	add
	fetch_i	//  mp
	push_const 400
	add
	fetch_d
	less
	push_reg_sp
	fetch_i
	branch_false L10831
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter DDMagic
	func_call 184615127	//  func[Skill_GetConsumeHP]
	shift_sp -1
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  sm
	push_const 544
	add
	fetch_i	//  hp
	push_const 392
	add
	fetch_d
	less
	and
	push_reg_sp
	fetch_i
	branch_false L10831
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_parameter DDMagic
	func_call 184615133	//  func[Skill_InReuseDelay]
	shift_sp -1
	push_const 0
	equal
	and
L10831
	branch_false L10833
L10832
	push_event	//  myself
	push_const 704
	add
	fetch_i
	push_event	//  myself
	push_const 704
	add
	fetch_i	//  master
	push_const 552
	add
	fetch_i	//  id
	push_const 36
	add
	fetch_i4
	push_parameter DDMagic
	push_const 0
	push_event	//  reply
	push_const 164
	add
	fetch_i4
	push_event	//  ask
	push_const 160
	add
	fetch_i4
	push_const 1000000
	push_const 0
	func_call 185008147	//  func[AddUseSkillDesireEx]
	shift_sp -7
	shift_sp -1
L10833
	jump L10818
	jump L10834
L10830
L10834
L10818
	shift_sp -1
handler_end

class_end