View Single Post
Old 23.07.2006, 16:18   #2
metroland
Архивный участник
 
Join Date: Dec 2005
Posts: 34
Default

priest of dawn dusk give Record of the seven sings and Contributing seal stones.

Code:
class priest_of_dawndusk : citizen
handler 32	//  MENU_SELECTED
	variable_begin
		"ask"
		"i0"
		"i1"
		"i2"
		"i3"
		"reply"
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L80920
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 2
	equal
	and
L80920
	branch_false L80922
L80921
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 5707
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 0
	equal
	push_reg_sp
	fetch_i
	branch_false L80923
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 500
	greater
	and
L80923
	branch_false L80925
L80924
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 5707
	push_const 1
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 500
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S80927.	"dawn_priest_giverec.htm"
	push_string S80927
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L80926
L80925
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S80928.	"dawn_priest_noadena.htm"
	push_string S80928
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L80926
L80922
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 1
	equal
	push_reg_sp
	fetch_i
	branch_false L80500
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	and
L80500
	branch_false L80502
L80501
	push_event	//  i1
	push_const 196
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6360
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	assign
	shift_sp -1
	push_event	//  i2
	push_const 200
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6361
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	assign
	shift_sp -1
	push_event	//  i3
	push_const 204
	add
	push_reg_sp
	fetch_i
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6362
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	assign
	shift_sp -1
	push_event	//  i0
	push_const 192
	add
	push_reg_sp
	fetch_i
	push_event	//  i1
	push_const 196
	add
	fetch_i
	push_const 3
	mul
	push_event	//  i2
	push_const 200
	add
	fetch_i
	push_const 5
	mul
	add
	push_event	//  i3
	push_const 204
	add
	fetch_i
	push_const 10
	mul
	add
	assign
	shift_sp -1
	push_event	//  i0
	push_const 192
	add
	fetch_i
	push_const 0
	equal
	branch_false L80505
L80503
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S80504.	"dawn_priest_ssnone.htm"
	push_string S80504
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L80506
L80505
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 5575
	push_event	//  i0
	push_const 192
	add
	fetch_i
	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6360
	push_event	//  i1
	push_const 196
	add
	fetch_i
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6361
	push_event	//  i2
	push_const 200
	add
	fetch_i
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 6362
	push_event	//  i3
	push_const 204
	add
	fetch_i
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
S80507.	"dawn_priest_ssthx.htm"
	push_string S80507
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L80506
L80502
handler_end

class_end
Code:
<html> 
<body> 
Dusk Priestess: 

 
Until the day of revolution! The Seal of Death has awoken! We, the Revolutionaries of Dusk, will use our awesome power to destroy the old system and create a world where all are equal! <font color="FF0000">[ The competition is underway. New participants in the Seven Signs may start immediately. ]</font> 

 
<font color="LEVEL">[ Seven Signs Information ]</font> 

 
<a action="link opisanie1.htm">What is the Seven Signs?</a>

 
<a action="bypass -h menu_select?ask=1&reply=2">Purchase Record of the Seven Signs.</a>

 
<font color="LEVEL">[ Participate in the Seven Signs ]</font> 

 
<a action="link opisanie3.htm">How do I collect seal stones?</a> 

 
<a action="bypass -h menu_select?ask=1&reply=1">Contributing seal stones.</a>

 
<a action="bypass -h multisell?id=40">Purchase Special Potions and Scrolls for Ancient Adena.</a>

 
<font color="LEVEL">[ Festival of Darkness ]</font> 

 
<a action="link opisanie4.htm">What is the Festival of Darkness?</a> 

 
I wish to participate in the Festival of Darkness.

 
<a action="link havescroll.htm">I want SP...(need SP scroll)</a>

 
</body> 
</html>
metroland is offline