View Single Post
Old 15.09.2005, 14:26   #29
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

HF dont tested if it work but i think the code for teleport has to be like this

Code:
class enter_catacomb2 : instant_teleporter
// Dark Omen Catacomb (Enter)
handler 28	//  TELEPORT_REQUESTED
	variable_begin
		"talker"
		"i6"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 19090
  negate
	push_const 13500
	push_const 4816
  negate
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
handler_end

class_end
SoaPy is offline